Update 13_3_Setting_Up_a_Channel.md

This commit is contained in:
Javier Vargas 2020-07-23 13:36:43 +02:00 committed by GitHub
parent 0b5baf2d24
commit 4cbc60203d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 nodes 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.
```