-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Vu Vo <[email protected]> Signed-off-by: Robert Zaremba <[email protected]>
- Loading branch information
1 parent
45f924a
commit d1ac66a
Showing
1 changed file
with
5 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,9 @@ | |
|
||
## Requirements | ||
|
||
Make sure you have docker and docker-compose-plugin installed and docker service is running. | ||
Make sure you have docker and docker-compose-plugin installed, and the docker service is running. | ||
|
||
- docker-compose version >= 2.30.0. | ||
|
||
## Initialization | ||
|
||
|
@@ -41,15 +43,15 @@ docker exec -it bitcoind-node /bin/bash | |
Then you can generate a block: | ||
|
||
```sh | ||
bitcoin-cli -regtest generate | ||
bitcoin-cli -regtest generate <number-block> | ||
``` | ||
|
||
If RPC params are required, you can provide them: | ||
|
||
```sh | ||
bitcoin-cli -regtest -rpcuser=user -rpcpassword=password generate | ||
``` | ||
Check failure on line 53 in contrib/MockBitcoind.md GitHub Actions / markdown-lintFenced code blocks should be surrounded by blank lines
|
||
|
||
More information in [developer.bitcoin.org -> testing](https://developer.bitcoin.org/examples/testing.html). | ||
## Reference | ||
Check failure on line 55 in contrib/MockBitcoind.md GitHub Actions / markdown-lintHeadings should be surrounded by blank lines
|
||
|
||
- [Running Bitcoind with ZMQ](https://bitcoindev.network/accessing-bitcoins-zeromq-interface/) | ||
|