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.
Reference implementation of getblocktemplate?
0 replies 65 views
Related topics
- New Optional Hourglass Implementation is Live 3
- Twist Attack, Sub-Group Attack and Pollard-Rho Implementation Issues 4
- Bitcoin Core displaying coins (UTXOs) in a new tab 13
- Are you in favor of BIP-110? Let's get a Bitcoin poll going. 0
- Erlay seems to have some issues here’s a better proposal for a bitcoin protocol without invites 3
- Ways to earn some sats by contributing to bitcoin core development 5