Address Book
To quickly connect to healthy peers, running the command below in your node’s .echelond/config folder, downloads an up-to-date address book (existing addrbook.json is overwritten so make a backup of it first if you want to retain it for safety)
wget https://ech.world/latest/addrbook.json -O addrbook.json
What the heck is a ‘snapshot’?
A snapshot is a saved state at a given time. When talking about blockchains, a snapshot usually means a backup of the node’s data folder. If you’re running a node, best case would be to make regular backups of the data folder because there’s always the possibility of database corruption and when it happens, you need a working state to revert back to.
If you don’t have any working backup, in case of a failure, your database will be essentially empty and you will need to sync your node from the first block to current height which might take a long time to finish.
ech.world saves a snapshot daily and the latest snapshot can be downloaded and taken into use by anyone.
Do I need a snapshot?
You might need a snapshot for example in these cases:
- You want to start a new validator node
- Your existing node fails temporarily or permanently and you need a node online as soon as possible
One thing to notice is that if you use a snapshot that doesn’t have indexing data included (ech.world snapshots are like this, to keep the file size reasonable), you or anyone querying your node doesn’t have the access to historical block data. It’s not mandatory to have this historical data to validate. But it’s good to keep this in mind if you’re planning on serving data endpoints to other people who might be running RPC queries against your node and would expect to have that historical data available.
If you’re only planning on validating and don’t care about the possibility to query historical block data from your node, then using a snapshot is totally fine and speeds up your setup process considerably. On the other hand if you do need that historical data, then you should not use a snapshot but instead sync your node from the first block onwards with indexing enabled (it is enabled by default).