How would I be able to put data in the extra field for say a nonce or whatever?
5
-
For the coinbase TX? Modify the code, I suppose. Not sure XMR's so-called "getblocktemplate" would allow for this, so you MAY have to make your own block. – Wolf0 Dec 18 '16 at 17:45
2
When using the getblocktemplate RPC, you can pass a reserve_size argument. You will get a block template and a reserve_offset, and then starting at reserve_offset in the block template, you can put reserve_size bytes of whatever you want.