Just pointing out that that using ANY CPU(s) for mining BTC is beyond useless. Even Sidehack's original Compac USB stickminer running 10-20GH/s is >1000x faster than what today's fastest CPU can process.
I know CPU is not fast, but I don't belive "Even Sidehack's original Compac USB stickminer running 10-20GH" it's true. I'll tell why. Small usb can be fast tha Ryzen 9/7. If all cores get max 200 khash/s. I'm sorry I don't belive it.
This is first version to get/correct issues, I hope get better ideias here
I did devellop my GPU version (Work In Progress) with C SHA256/CUDA and Python implementation in my RTX3080 GPU 10G get 1.30Ghash/s ( it took ~4 seconds to check all nonces).
10-20GH/s small piece vs RTX3080, humm !!!