Update README.md for regtest

This commit is contained in:
lokoga1 2017-08-22 15:55:28 +02:00 committed by Christian Decker
parent bf3350cce1
commit 1b3eeec8f1

View File

@ -46,10 +46,12 @@ In order to start `lightningd` you will need to have a local `bitcoind` node run
bitcoind -daemon -testnet
```
Once `bitcoind` has synchronized with the testnet/regtest network, you can start `lightningd` with the following command:
Wait until `bitcoind` has synchronized with the testnet network. In case you use regtest, make sure you generate at least 432 blocks to activate SegWit.
You can start `lightningd` with the following command:
```
lightningd/lightningd --log-level=debug
lightningd/lightningd --network=testnet --log-level=debug
```
### Opening a channel on the Bitcoin testnet