-
Notifications
You must be signed in to change notification settings - Fork 495
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #733 from sirouk/main
Update Persistent Peers
- Loading branch information
Showing
2 changed files
with
15 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,12 +29,21 @@ export CHAIN_ID=namada.5f5de2dd1b88cba30586420 | |
namadac utils join-network --chain-id $CHAIN_ID --genesis-validator $VALIDATOR_ALIAS | ||
``` | ||
|
||
6. Add some persistent peers to your `config.toml` file. First, select from the published list of peers at the bottom of this page. Then, open your node's configuration located at `$BASE_DIR/$CHAIN_ID/config.toml` and find the field `persistent_peers` (which should be empty). Add peers in the format `tcp://<node id>@<IP address>:<port>` separated by commas. Aim to add about 10 persistent peers to your config. | ||
6. Add some persistent peers to your `config.toml` file. First, select from the published list of peers at the bottom of this page. Then, open your node's configuration located at `$BASE_DIR/$CHAIN_ID/config.toml` and find the field `persistent_peers` (which should be empty). Add peers in the format `tcp://<node id>@<IP address>:<port>` separated by commas. Aim to add about 10 persistent peers to your config. | ||
|
||
**Example on Ubuntu:** | ||
In the file `~/.local/share/namada/$CHAIN_ID/config.toml` | ||
Add peers following this format (more peers can be found at the bottom of this page): | ||
Add peers following this format (you can contribute your peers with the instructions found at the bottom of this page): | ||
``` | ||
persistent_peers = "tcp://[email protected]:26656,tcp://[email protected]:26656,tcp://[email protected]:46656" | ||
``` | ||
persistent_peers = "tcp://[email protected]:26656,tcp://[email protected]:46656" | ||
This can be done by executing the following examle command (replace addresses with your actual desired peers): | ||
```bash | ||
sed -i 's#persistent_peers = ".*"#persistent_peers = "'\ | ||
'tcp://[email protected]:26656,'\ | ||
'tcp://[email protected]:26656,'\ | ||
'tcp://[email protected]:46656'\ | ||
'"#' $HOME/.local/share/namada/namada.5f5de2dd1b88cba30586420/config.toml | ||
``` | ||
|
||
7. Start *before genesis time* and leave it running -- at genesis time, it will become active. Start your node using the command | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,6 +12,9 @@ The guide with instructions to join the network is located inside [here](./MAINN | |
### Seed nodes | ||
|
||
### Peers | ||
- tcp://[email protected]:26656 | ||
- tcp://[email protected]:26656 | ||
- tcp://[email protected]:46656 | ||
|
||
## Voting power distribution | ||
|
||
|