Merge pull request #5355 from wallclockbuilder/master

Generate more than 1 block(regtest)
This commit is contained in:
Christoph Atteneder 2021-04-15 09:09:18 +02:00 committed by GitHub
commit b7b2db6cc0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -261,4 +261,19 @@ block:
-rpcpassword=bsq \
generatetoaddress 1
# Generate more than 1 block.
# Instead of running `make block` 24 times,
# you can now run `make blocks n=24`
blocks:
bitcoin-cli \
-regtest \
-rpcuser=bisqdao \
-rpcpassword=bsq \
getnewaddress \
| xargs bitcoin-cli \
-regtest \
-rpcuser=bisqdao \
-rpcpassword=bsq \
generatetoaddress $(n)
.PHONY: build seednode