RPC, Peers, Seed, Addrbook, Genesis

peers:

5c2fffc93c7e626ed794e0fab7e2fe5ea182f0a5@namada-mainnet-peer.itrocket.net:14656

seed:

5cde33779374e60ad556a47f3bd342bec8310e04@namada-mainnet-seed.itrocket.net:14656

live peers:

active peers: 0 (upd. every 10 sec)

PEERS="tcp://5c2fffc93c7e626ed794e0fab7e2fe5ea182f0a5@namada-mainnet-peer.itrocket.net:14656"
sed -i 's#persistent_peers = ".*"#persistent_peers = "'$PEERS'"#' $HOME/.local/share/namada/namada-dryrun.abaaeaf7b78cb3ac/config.toml

addrbook:

updates every hour

wget -O $HOME/.local/share/namada/namada-dryrun.abaaeaf7b78cb3ac/cometbft/config/addrbook.json https://server-5.itrocket.net/mainnet/namada/addrbook.json

genesis

wget -O $HOME/.local/share/namada/namada-dryrun.abaaeaf7b78cb3ac/cometbft/config/genesis.json https://server-5.itrocket.net/mainnet/namada/genesis.json

Snapshot

## Snapshot is not available yet

updates every 4h

sudo systemctl stop namadad
SNAP_NAME=$(curl -s https://server-5.itrocket.net/mainnet/namada/.current_state.json  | jq -r '.snapshot_name')
cp $HOME/.local/share/namada/namada-dryrun.abaaeaf7b78cb3ac/cometbft/data/priv_validator_state.json $HOME/.local/share/namada/namada-dryrun.abaaeaf7b78cb3ac/cometbft/priv_validator_state.json.backup
rm -rf $HOME/.local/share/namada/namada-dryrun.abaaeaf7b78cb3ac/cometbft/data $HOME/.local/share/namada/namada-dryrun.abaaeaf7b78cb3ac/{db,wasm}
curl https://server-5.itrocket.net/mainnet/namada/$SNAP_NAME | lz4 -dc - | tar -xf - -C $HOME/.local/share/namada/namada-dryrun.abaaeaf7b78cb3ac
mv $HOME/.local/share/namada/namada-dryrun.abaaeaf7b78cb3ac/cometbft/priv_validator_state.json.backup $HOME/.local/share/namada/namada-dryrun.abaaeaf7b78cb3ac/cometbft/data/priv_validator_state.json
sudo systemctl restart namadad && sudo journalctl -u namadad -f
logo
Copyright © 2024 ITRocket. All Rights Reserved.