State Sync
Introduction
The fastest way to get a node synced to the latest block-height is by using State Sync. With State Sync, your node downloads a snapshot near the head of the chain and verifies this data. This leads to drastically shorter times to join the network.
Keep in mind that blocks prior to the trust height used for State Sync will not be queryable.
Therefore, if your goal is to run a full node with historical data, it is recommended not to use State Sync, but instead to explore other Snapshot option such as Native Snapshots or Quicksync archive snapshot.
Supported OS
Linux x86_64 is confirmed to work. Other platforms may work but there is no guarantee. We will extend our support to other operating systems after we have stabilised our current architecture.
Prepare your machine
To run Cronos Mainnet nodes, you will need a machine with the following minimum requirements:
4-core, x86_64 / ARM architecture processor
16 GB RAM
1 TB of storage space.
Step 1: Get the latest cronosd binary
Install the Cronos Mainnet binaries from GitHub:
Check that
cronosdis effectively installed:
Step 2: Configure cronosd
Initialize cronosd. Replace the [moniker] with an ID for your node.
Download and replace the Cronos Mainnet
genesis.jsonby:
Verify the sha256sum checksum of the
genesis.json. You should seeOK!if the sha256sum checksum matches.
Replace the following parameters in the
~/.cronos/config/config.tomlfile, by executing:
Step 3: Run everything
Now that
cronosdhas been configured, we are ready to start the node:
This will take a couple of minutes, if your node manages to state-sync, you should see that snapshot chunks are being downloaded, and your node starts signing blocks.
To check the current node syncing status:
That's it! You are now running a synced node on Cronos Mainnet!
Last updated
Was this helpful?