Is Block Height 1 is the genesis block?

0

As the question I asked before, I wanted to make an altcoin. The block height in main.cpp allows you to choose which block gets different rewards. If it does, do txNew.vout[0].nValue = depend on the first block or the normal block reward

Triyoga Aria Wardhana

Posted 2014-06-21T11:52:38.290

Reputation: 23

Answers

1

The genesis block has height 0 (at least in the Bitcoin reference client source code).

Pieter Wuille

Posted 2014-06-21T11:52:38.290

Reputation: 54 032