0

Running a simple local setup with 3 nodes in regtest mode. Getblocktemplate tells me the coinbasevalue = 25 bitcoins but the block height is only 202. Shouldn't the coinbasevalue = 50 bitcoins?

2
  • What base software did you use, please, some more details!
    – Jori
    Commented Jun 26, 2014 at 15:10
  • Running the latest version of bitcoind (0.9.2.1) on linux. Have three local nodes in regtest mode connected to each other. Block height = 202. Maybe the block reward is based on the actual current block reward and not my local block height?
    – Joe M
    Commented Jun 27, 2014 at 19:17

1 Answer 1

3

In regtest mode, the block reward halves every 150 blocks instead of every 210000 blocks. See the consensus.nSubsidyHalvingInterval settings in chainparams.cpp.

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