Download DB snapshot
Download a database snapshot to run an Aleph node on the testnet for validating transactions.
Create a directory for the data. Note that this will host the chain database, so it has to have access to reasonable amounts of space.
Download the latest DB snapshot from http://db.test.azero.dev.s3-website.eu-central-1.amazonaws.com/latest-rocksdb-pruned.html.
The command above downloads and unpacks the snapshot in one step: it only needs as much storage as the [unpacked] snapshot itself, as it doesn't store the archive. Now we can go back to the previous directory:
Download the chainspec:
No-downtime upgrade
If you're already running a validator node and would like to switch to using RocksDB, you can use the following steps to keep the downtime during the upgrade to the minimum:
Before you start: ensure that your node has enough space to accommodate an additional 60GB of storage for the new snapshot
Without stopping the node: download the snapshot and unpack it in the same directory where you unpacked the legacy, ParityDB snapshot.
You should end up with two directories:
db
andparitydb
(the latter we will later be able to delete, the former is the new RocksDB database)Ensure your validator is not in the active committee (the best time for an upgrade is right after your validator has stopped being in the active committee).
Stop your node.
Start your node with pruning enabled (see the Running the binary section).
Now you can remove the
paritydb
folder to save space.
Congratulations, you're now running a RocksDB validator!
Last updated
Was this helpful?