Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Vu Vo <[email protected]>
Signed-off-by: Robert Zaremba <[email protected]>
  • Loading branch information
robert-zaremba and vuvoth authored Dec 18, 2024
1 parent 45f924a commit d1ac66a
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions contrib/MockBitcoind.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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

View workflow job for this annotation

GitHub Actions / markdown-lint

Fenced code blocks should be surrounded by blank lines

contrib/MockBitcoind.md:53 MD031/blanks-around-fences Fenced code blocks should be surrounded by blank lines [Context: "```"] https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md031.md

More information in [developer.bitcoin.org -> testing](https://developer.bitcoin.org/examples/testing.html).
## Reference

Check failure on line 55 in contrib/MockBitcoind.md

View workflow job for this annotation

GitHub Actions / markdown-lint

Headings should be surrounded by blank lines

contrib/MockBitcoind.md:55 MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Above] [Context: "## Reference"] https://github.com/DavidAnson/markdownlint/blob/v0.36.1/doc/md022.md

- [Running Bitcoind with ZMQ](https://bitcoindev.network/accessing-bitcoins-zeromq-interface/)
Expand Down

0 comments on commit d1ac66a

Please sign in to comment.