Skip to content

Commit

Permalink
Merge pull request #213 from CounterpartyXCP/fixtypos
Browse files Browse the repository at this point in the history
Fix typos
  • Loading branch information
ouziel-slama authored Sep 24, 2024
2 parents 8ca3c80 + 995d988 commit ea9ecf9
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions docs/advanced/how-to/regtest-node.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ You must have the following three applications installed and available in the $P

You can follow the instructions here [https://docs.counterparty.io/docs/basics/manual-installation/](https://docs.counterparty.io/docs/basics/manual-installation/) to install them.

You also need to install the following Python packages using pip:

```
$ pip3 install rich sh
```

# Start the regtest node

Expand All @@ -18,7 +23,7 @@ You can follow the instructions here [https://docs.counterparty.io/docs/basics/m
Use the `regtestnode.py` script:

```
$ python3 counterpartcore/test/regtest/regtestnode.py
$ python3 counterpartycore/test/regtest/regtestnode.py
```

This script does the following:
Expand All @@ -31,7 +36,7 @@ This script does the following:
Once finished you have a node ready to use. You can check with:

```
$ curl [http://localhost:24000/v2/](http://localhost:24000/v2/)
$ curl http://localhost:24000/v2/
$ bitcoin-cli -regtest -rpcuser rpc -rpcpassword rpc -getinfo
```

Expand All @@ -41,7 +46,7 @@ $ bitcoin-cli -regtest -rpcuser rpc -rpcpassword rpc -getinfo
If you need a server containing sample data you can use:

```
$ python3 counterpartcore/test/regtest/testscenarios.py serve
$ python3 counterpartycore/test/regtest/testscenarios.py serve
```

This script performs the same operations as `regtestnode.py` but also executes all scenario transactions found in `counterpartcore/test/regtest/scenarios`.
Expand Down

0 comments on commit ea9ecf9

Please sign in to comment.