mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-19 01:41:11 +01:00
Merge pull request #5355 from wallclockbuilder/master
Generate more than 1 block(regtest)
This commit is contained in:
commit
b7b2db6cc0
15
Makefile
15
Makefile
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user