If you want to quickly start the node and join IRIS Hub without historical data, you can consider using the
state_sync feature. Note that the data directory must be empty when starting the node.
- Initialize the mainnet node by referring to Join The Mainnet.
- Check the block height of the current snapshot, and select the latest height.
- Modify the
[statesync] enable = true # whether enable stat_sync; set true rpc_servers = "184.108.40.206:26657,220.127.116.11:26657" # RPC server address which the node connects to trust_height = # Set to the block height of the latest snapshot trust_hash = "" #Set to the hash corresponding to the latest snapshot block height (trust height), which can be checked via https://irishub.iobscan.io/#/block/<trust_height>. trust_period = "168h0m0s" discovery_time = "15s" temp_dir = ""
- Start the node.
- If any problem occurs during chain starting, you can execute
iris unsafe-reset-allto reset the node and repeat the steps above.
- If you can't find solutions to the current issue, please contact us via IRISnet Discord channel for help.