How would I be able to put data in the extra field for say a nonce or whatever?

  • 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

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.