|
@@ -95,8 +95,8 @@ The first time you run the program, a config file will be created in
|
|
|
config file to configure a seed node:
|
|
config file to configure a seed node:
|
|
|
|
|
|
|
|
```toml
|
|
```toml
|
|
|
-## P2P accept address
|
|
|
|
|
-inbound="127.0.0.1:11001"
|
|
|
|
|
|
|
+## P2P accept addresses
|
|
|
|
|
+inbound=["127.0.0.1:11001"]
|
|
|
```
|
|
```
|
|
|
|
|
|
|
|
Note that the above config doesn't specify an external address since
|
|
Note that the above config doesn't specify an external address since
|
|
@@ -110,17 +110,17 @@ the network during the bootstrapping phase.
|
|
|
This is a node accepting inbound connections on the network but which
|
|
This is a node accepting inbound connections on the network but which
|
|
|
is not making any outbound connections.
|
|
is not making any outbound connections.
|
|
|
|
|
|
|
|
-The external address is important and must be correct.
|
|
|
|
|
|
|
+The external addresses are important and must be correct.
|
|
|
|
|
|
|
|
To run an inbound node, your config file must contain the following
|
|
To run an inbound node, your config file must contain the following
|
|
|
info:
|
|
info:
|
|
|
|
|
|
|
|
```toml
|
|
```toml
|
|
|
-## P2P accept address
|
|
|
|
|
-inbound="127.0.0.1:11002"
|
|
|
|
|
|
|
+## P2P accept addresses
|
|
|
|
|
+inbound=["127.0.0.1:11002"]
|
|
|
|
|
|
|
|
-## P2P external address
|
|
|
|
|
-external_addr="127.0.0.1:11002"
|
|
|
|
|
|
|
+## P2P external addresses
|
|
|
|
|
+external_addr=["127.0.0.1:11002"]
|
|
|
|
|
|
|
|
## Seed nodes to connect to
|
|
## Seed nodes to connect to
|
|
|
seeds=["127.0.0.1:11001"]
|
|
seeds=["127.0.0.1:11001"]
|