State Sync

Live trust height & hash for Jay Network. Use these values to bootstrap a new node in seconds.

Latest Block
Synced
Trust Height
#1
latest − 2,000
Chain ID
thejaynetwork
mainnet
Latest Block Hash
Trust Hash (height 1)
RPC Servers
https://rpc-jay.onenov.xyz,https://rpc-jayn.winnode.xyz

config.toml — [statesync]

[statesync]
enable = true

rpc_servers = "https://rpc-jay.onenov.xyz,https://rpc-jayn.winnode.xyz"
trust_height = 1
trust_hash = ""
trust_period = "168h"

discovery_time = "15s"
temp_dir = ""
chunk_request_timeout = "10s"
chunk_fetchers = "4"

One-liner (sed patch)

SNAP_RPC="https://rpc-jay.onenov.xyz"
TRUST_HEIGHT=1
TRUST_HASH=""

sed -i.bak -E "s|^(enable[[:space:]]+=[[:space:]]+).*$|\1true| ; s|^(rpc_servers[[:space:]]+=[[:space:]]+).*$|\1\"$SNAP_RPC,$SNAP_RPC\"| ; s|^(trust_height[[:space:]]+=[[:space:]]+).*$|\1$TRUST_HEIGHT| ; s|^(trust_hash[[:space:]]+=[[:space:]]+).*$|\1\"$TRUST_HASH\"| ; s|^(trust_period[[:space:]]+=[[:space:]]+).*$|\1\"168h0m0s\"|" $HOME/.thejaynetwork/config/config.toml

Run on the target node, then start with --x-crisis-skip-assert-invariants. Trust values refresh live from RPC.