I wish to write a CPU Bitcoin mining program in pure python3. At my github page I have posted what I have so far.
https://github.com/ORP967/BTC_RPC_MiningI'm able to connect to my RPC and get the getblocktemplate information. I just don't know where to go from there. Any help or guidance would be appreciated.
I tried implementing pyminer.py and pyminer3.py but they both use the old getwork RPC API.
Here is the website for the complete RPC API reference.
https://developer.bitcoin.org/reference/rpc/index.htmlI love your idea!! I am working on a project with the same goal. solo-bitcoin.com . We are working towards the same thing. To prove a bitcoin block can still be solved on a CPU or smaller hardware. I think we will rock the Bitcoin world once we do. We should work together on this? what was once thought to be impossible . I know we can make it happen. Nothing is impossible.
No one here can/should say that it is
impossible to find a block using a CPU-based miner.
It *is* however very very very very very very very very very very very very very very very very very very very very very very unlikely.
Even using the CompacF USB ASIC stick miner gives you an at least several-billion x more chance. Probably being the 1st person ever to observe a Proton decay event is more likely (google it...)
But, yes -- it IS possible.