State-sync
Pre-requisites
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 Planq 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.
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 data 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 the blocks before state-sync trust height will not be queryable. So, in order to run a full node, it is better not to use state-sync, but use Snapshot's archive snapshot instead.
Step 1. Get the latest planqd binary
Install the Planq Mainnet binaries from GitHub:
Check that
planqdis effectively installed:
Step 2. Configure planqd
Initialize planqd. Replace the [moniker] with an ID for your node.
Download and replace the Planq 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
~/.planqd/config/config.tomlfile, by executing:
Step 3. Run everything
Now that
planqdhas 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 Planq Mainnet!
Last updated