mirror of
https://github.com/seigler/dash-docs
synced 2025-07-27 09:46:12 +00:00
Dev Docs: Specify block halving time in regtest mode
This commit is contained in:
parent
d51a80d063
commit
e68d8f2f83
1 changed files with 2 additions and 1 deletions
|
@ -72,7 +72,8 @@ bitcoin-cli -regtest setgenerate true 101
|
||||||
Generate 101 blocks using a special version of the `setgenerate` RPC
|
Generate 101 blocks using a special version of the `setgenerate` RPC
|
||||||
which is only available in regtest mode. This takes about 30 seconds on
|
which is only available in regtest mode. This takes about 30 seconds on
|
||||||
a generic PC. Because this is a new block chain using Bitcoin's default
|
a generic PC. Because this is a new block chain using Bitcoin's default
|
||||||
rules, the first 210,000 blocks pay a block reward of 50 bitcoins.
|
rules, the first blocks pay a block reward of 50 bitcoins. Unlike
|
||||||
|
mainnet, in regtest mode only the first 150 blocks pay a reward of 50 bitcoins.
|
||||||
However, a block must have 100 confirmations before that reward can be
|
However, a block must have 100 confirmations before that reward can be
|
||||||
spent, so we generate 101 blocks to get access to the coinbase
|
spent, so we generate 101 blocks to get access to the coinbase
|
||||||
transaction from block #1.
|
transaction from block #1.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue