State sync
In order to use this feature, you will have to edit a couple of things inside your ~/.realionetwork/config/config.toml
file, under the statesync
section:
Enable state sync by setting
enable=true
Set the RPC addresses from where to get the snapshots using the
rpc_servers
field:See Peer & Seeds information in order to get RPC addresses in our discord group
Get a trusted chain height, and the associated block hash. To do this, you will have to:
Get the current chain height by running:
Once you have the current chain height, get a height that is a little lower (200 blocks) than the current one. To do this you can execute:
Now that you have a trusted height and block hash, use those values as the
trust_height
andtrust_hash
values. Also, make sure they're the right values for the Realio Network version you're starting to synchronize:State sync height range
RealioNetwork version
0 - 1235764
v0.9.3
Here is an EXAMPLE (no not copy!) of what the
statesync
section of your~/.realionetwork/config/config.toml
file should look like in the end (thetrust_height
andtrust_hash
should contain your values instead):
Add peers to
~/.realionetwork/config/config.toml
file:
TIP Our discord group is a great source for getting peer information from the community. After joining the Discord Group, look for the #testnet-seeds-peers channel or the #mainnet-seeds-peers channel and ask the current members for one if needed.
Add these seeds here to the ~/.realionetwork/config/config.toml
file
Last updated