I want to make a scrypt/sha256 miner for Bitcoin and altcoins in C to learn more about how mining works in Bitcoin, altcoins and learn more C. getblocktemplate gives some data that is needed for mining from what I understand, but I dont understand the data that much. What is it that you have to do to actually do the mining and then to give the data to rpc through submitblock?

Please dont be harsh on me. Im just trying to learn more about cryptocurrency by making a Bitcoin/altcoin miner.

And yes, I know it's not profitable before anyone says that, it's just to learn about cryptocurrency.



Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.