1

I just want to mine an empty block with a daemon I am running. Do I need to change the code significantly or is there a setting?

Also do I still get a reward?

1 Answer 1

1

Do I need to change the code significantly or is there a setting?

There is no "setting", so you either change the code (where the block template is filled with pending transactions) or fetch a block template straight after a block is mined (e.g. when the tx pool is empty), then find the solution before some other miner.

Also do I still get a reward?

Yes (assuming you mine the block before someone else of course).

2
  • Now are there any advantages like I was assuming? Mar 31 at 14:27
  • With mpty blocks you only get the subsidy (emission), with transactions you also collect the tx fees.
    – jtgrassie
    Mar 31 at 21:12

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.