mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-21 16:14:23 +01:00
Update README.md for regtest
This commit is contained in:
committed by
Christian Decker
parent
bf3350cce1
commit
1b3eeec8f1
@@ -46,10 +46,12 @@ In order to start `lightningd` you will need to have a local `bitcoind` node run
|
|||||||
bitcoind -daemon -testnet
|
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
|
### Opening a channel on the Bitcoin testnet
|
||||||
|
|||||||
Reference in New Issue
Block a user