Snapshot
Chain ID: swisstronik_1291-1
Our Swisstronik Network Testnet Snapshot Server Setup
We take node snapshot periodically on a needed basis for testnet.
The snapshot is designed for node operators to run an efficient validator service on Swisstronik Network chain. To make the snapshot as small as possible while still viable as a validator, we use the following setting to save on the disk space. We suggest you make the same adjustment on your node too. Please notice that your node will have very limited functionality beyond signing blocks with the efficient disk space utilization. For example, your node will not be able to serve as a RPC endpoint (which is not suggested to run on a validator node anyway).
Since we periodically state-sync our snapshot nodes, you might notice that sometimes the size of our snapshot is surprisingly small.
app.toml
config.toml
How To Process Swisstronik Network Testnet Snapshot
Install lz4 if needed
Download the snapshot
Stop your node
Reset your node. WARNING: This will erase your node database. If you are already running validator, be sure you backed up your priv_validator_key.json
prior to running the the command. The command does not wipe the file. However, you should have a backup of it already in a safe location.
Decompress the snapshot to your database location. You database location will be something to the effect of ~/.
swisstronik depending on your node implemention.
If everything is good, now restart your node
Remove downloaded snapshot to free up space
Make sure that your node is running
ADVANCED ROUTE: The above solution requires you to download the compressed file, uncompressed it and then delete the original file. This requires extra storage space on your server. You can run the following combo command to stream the snapshot into your database location. For advanced users only:
ALTERNATIVE ROUTE: We also have Swisstronik Testnet state-sync service to help you bootstrap a node.
Last updated