1

As we know, we can find a value expected_reward in a response of a request getblocktemplate to a monerod.

Following the documentation:

expected_reward - unsigned int; Coinbase reward expected to be received if block is successfully mined.

I have a couple of questions here:

  1. Can be the expected_reward value of potentially new block can be differ to a actual block reward after it was mined and confirmed?
  2. How is a expected_reward value obtained? Did I understand correctly that the answer to this question is written here and here?
Andrei
  • 367
  • 1
  • 9

1 Answers1

1

1) So long as you don't edit the block template returned (i.e. you don't add a load more data or change the transactions included), expected_reward is what you would receive if you mined a block based on that template.

If you added or removed transactions, the fees collected would obviously change. If you changed the overall size of the block (added more data to extra for example), the reward calculation could be affected (e.g. the penalty fee could kick-in).

2) The links you referenced are both outdated (2017). Please see this answer, which references newer information.

jtgrassie
  • 19,601
  • 4
  • 17
  • 54