Reference implementation of getblocktemplate?

0 replies 65 views
vector88Member
Posts: 15 · Reputation: 173
#1Dec 2, 2018, 11:53 AM
I'm searching for a sample miner in Python, C, Verilog, or any other language that works as a solo miner. It should take a getblocktemplate JSON from my local bitcoind and then submit the discovered nonce back to bitcoind core on the testnet. What I'm really interested in is how to pull data from the getblocktemplate and send it to the SHA256 hasher, plus how to embed the found nonce and pass it back to bitcoind. I get the hashing part but I'm not too familiar with the terminology in the BIPs, so looking through some code might help me figure things out. This is all about understanding the process better, not for making money.
5 Reply Quote Share

Related topics