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.
submitblock
from the data I get fromgetblocktemplate
– IdotMaster1 Aug 06 '23 at 00:46