Unexpected coinbasevalue in regtest mode

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?

Joe M

Posted 2014-06-25T05:01:19.317

Reputation: 131

What base software did you use, please, some more details!Jori 2014-06-26T15:10:35.333

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 2014-06-27T19:17:02.483

Answers

1

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

Anthony Towns

Posted 2014-06-25T05:01:19.317

Reputation: 276