2
I currently trying to develop a simple Bitcoin miner in c++ for a project on my university. For parsing the 'getblocktemplate'-data I'm using libblkmaker. Now I have to build the coinbase transaction for the 'blktmpl', but I don't really know how.
Anyone knows how to add a coinbase transaction to the block-template with 'libblkmaker'?
And how do I add my bitcoin address to this?
Thanks for your help, Sebastian
I also fund the function 'blkmk_init_generation' and it seems to work. Do I also have to call 'blkmk_append_coinbase_safe2'? – Salabasti – 2016-02-03T09:54:43.693