Skip to content

Commit

Permalink
readme: note how to configure node addresses
Browse files Browse the repository at this point in the history
  • Loading branch information
okjodom committed Oct 25, 2023
1 parent bcd3b2f commit 34524bb
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ not "drain" from the simulation.
{
"LND": {
"id": "Alice",
"address": "https://localhost:10011",
"address": "https://127.0.0.1:10011",
"macaroon": "/path/admin.macaroon",
"cert": "/path/tls.cert"
}
Expand All @@ -90,6 +90,8 @@ not "drain" from the simulation.
}
```

**Note that node addresses must be declare with HTTPS transport, i.e. <https://ip-or-domain>**

Nodes can be identified by an arbitrary string ("Alice", "CLN1", etc) or
by their node public key. If a valid public key is provided it *must*
match the public key reported by the node.
Expand Down Expand Up @@ -134,7 +136,7 @@ The example simulation file below sets up the following simulation:
{
"CLN": {
"id": "0230a16a05c5ca120136b3a770a2adfdad88a68d526e63448a9eef88bddd6a30d8",
"address": "https://localhost:10013",
"address": "https://127.0.0.1:10013",
"ca_cert": "/path/ca.pem",
"client_cert": "/path/client.pem",
"client_key": "/path/client-key.pem"
Expand Down Expand Up @@ -164,6 +166,8 @@ The example simulation file below sets up the following simulation:
}
```

**Note that node addresses must be declare with HTTPS transport, i.e <https://ip-or-domain>**

Nodes can be identified by their public key or an id string (as
described above). Activity sources and destinations may reference the
`id` defined in `nodes`, but destinations that are not listed in `nodes`
Expand Down

0 comments on commit 34524bb

Please sign in to comment.