Umee
Umee Mainnet State-Sync Guide
Stop umeed
service and reset database:
sudo systemctl stop umeed
umeed tendermint unsafe-reset-all --home $HOME/.umee --keep-addr-book
PEER="8856ec60efb9f5b01fe2c8cf3508fc5f21272507@95.216.161.177:26656"
SNAP="https://rpc-umee.huginn.tech:443"
LATEST_HEIGHT=$(curl -s $SNAP/block | jq -r .result.block.header.height)
TRUST_HEIGHT=$((LATEST_HEIGHT - 1000))
TRUST_HASH=$(curl -s "$SNAP/block?height=$TRUST_HEIGHT" | jq -r .result.block_id.hash)
sed -i.bak -E "s|^(enable[[:space:]]+=[[:space:]]+).*$|\1true| ; \
s|^(rpc_servers[[:space:]]+=[[:space:]]+).*$|\1\"$SNAP,$SNAP\"| ; \
s|^(trust_height[[:space:]]+=[[:space:]]+).*$|\1$TRUST_HEIGHT| ; \
s|^(trust_hash[[:space:]]+=[[:space:]]+).*$|\1\"$TRUST_HASH\"|" $HOME/.umee/config/config.toml
sed -i.bak -e "s/^persistent_peers *=.*/persistent_peers = \"$PEER\"/" $HOME/.umee/config/config.toml
2- Run umeed
and check logs
umeed
and check logssudo systemctl start umeed
sudo journalctl -u umeed -f -o cat
Last updated