mirror of
https://github.com/ChristopherA/Learning-Bitcoin-from-the-Command-Line.git
synced 2025-06-09 00:46:25 +00:00
Update 13_3_Setting_Up_a_Channel.md
This commit is contained in:
parent
0b5baf2d24
commit
4cbc60203d
@ -72,6 +72,8 @@ Now that we have funded our c-lightning wallet we will get information about rem
|
||||
|
||||
The first thing you need to do is connect your node to a peer. This is done with the `lightning-cli connect` command. Remember that if you want more information on this command, you should type `lightning-cli help connect`. The connect RPC command establishes a new connection with another node in the Lightning Network.
|
||||
|
||||
You have two options here, you could set up a Lightning node on a second machine using the Standup script and choose LND implementation or search a node to connect to.
|
||||
|
||||
To connect your node to a remote peer you need it's id that represents the target node’s public key. As a convenience, id may be of the form id@host or id@host:port. Using `lightning-cli listnodes` command you obtain all nodes available on the network and choose one.
|
||||
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user