rotate-exclamationState sync

Node State Sync Guide

Instructions

Stop the Node

sudo systemctl stop uptickd

Set State Sync Variables

SNAP_RPC="https://rpc-uptick.onenov.xyz"
API_ENDPOINT="https://api-uptick.onenov.xyz"

Fetch Latest Block Data

LATEST_HEIGHT=$(curl -s $SNAP_RPC/block | jq -r .result.block.header.height)
BLOCK_HEIGHT=$((LATEST_HEIGHT - 2000)) # 2000 block offset for safety
TRUST_HASH=$(curl -s "$SNAP_RPC/block?height=$BLOCK_HEIGHT" | jq -r .result.block_id.hash)

Display Configuration Details

echo "Configuring State Sync with:"
echo "RPC Server: $SNAP_RPC"
echo "Trust Height: $BLOCK_HEIGHT"
echo "Trust Hash: $TRUST_HASH"

Configure config.toml

Reset Blockchain Data

Restart Node

Monitoring Commands

Track Sync Progress

Check Sync Status

Verify Node Health

Last updated