From 4e5d1644a099e3c6022207683ed92ffb9e7b9d0a Mon Sep 17 00:00:00 2001 From: huey735 <44140017+huey735@users.noreply.github.com> Date: Tue, 9 Jul 2019 01:08:46 +0100 Subject: [PATCH] Update command to generate blocks Specify that from Bitcoin Core's v.0.18 the 'generate' command will be deprecated and to use 'generatetoaddress' instead. --- docs/dev-setup.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/dev-setup.md b/docs/dev-setup.md index 9911c22e2b..129a979f73 100644 --- a/docs/dev-setup.md +++ b/docs/dev-setup.md @@ -28,10 +28,11 @@ You can find more information about the Bitcoin regtest mode [here](https://bitc Navigate to the [bitcoin.conf](https://en.bitcoin.it/wiki/Running_Bitcoin#Bitcoin.conf_Configuration_File) file and set `regtest=1`, or add `-regtest` as a program argument when starting Bitcoin Core. -At first startup you need to create 101 blocks using the command `generate 101` from the terminal inside Bitcoin Core. 101 blocks are required because of the coin maturity (100 blocks) so you need one more to have at least 50 BTC available for spending. +At first startup you need to create 101 blocks using the command `generate 101`* from the terminal inside Bitcoin Core. 101 blocks are required because of the coin maturity (100 blocks) so you need one more to have at least 50 BTC available for spending. -Later you can create new blocks with `generate 1`. +Later you can create new blocks with `generate 1`*. +*This method is deprecated in Bitcoin Core's v.0.18 and will be fully removed in v.0.19. Use instead `generatetoaddress amount address`. ## Understand Bisq P2P network options