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_Mining
I'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.html