mirror of
https://github.com/bitcoinbook/bitcoinbook
synced 2025-02-22 20:42:09 +00:00
Edited ch11_blockchain.adoc with Atlas code editor
This commit is contained in:
parent
30c8aae633
commit
34f702f06c
@ -743,7 +743,7 @@ $ bitcoin-cli -signet getblockchaininfo
|
||||
|
||||
==== Regtest—The Local Blockchain
|
||||
|
||||
Regtest, which stands for
|
||||
Regtest, ((("blockchain", "test blockchains", "regtest", id="blockchain-test-regtest")))((("test blockchains", "regtest", id="test-block-regtest")))((("regtest", id="regtest")))which stands for
|
||||
"Regression Testing," is a Bitcoin Core feature that allows you to
|
||||
create a local blockchain for testing purposes. Unlike signet and testnet3, which
|
||||
are a public and shared test blockchain, the regtest blockchains are
|
||||
@ -808,7 +808,7 @@ $ bitcoin-cli -regtest generatetoaddress 500 \
|
||||
It will only take a few seconds to mine all these blocks, which
|
||||
certainly makes it easy for testing. If you check your wallet balance,
|
||||
you will see that you earned reward for the first 400 blocks (coinbase
|
||||
rewards must be 100 blocks deep before you can spend them):
|
||||
rewards must be 100 blocks deep before you can ((("blockchain", "test blockchains", "regtest", startref="blockchain-test-regtest")))((("test blockchains", "regtest", startref="test-block-regtest")))((("regtest", startref="regtest")))spend them):
|
||||
|
||||
----
|
||||
$ bitcoin-cli -regtest getbalance
|
||||
|
Loading…
Reference in New Issue
Block a user