Fast-sync a node
The node installer provides download_state for mainnet and testnet. It downloads a published state, stops Rusk, replaces the local state and chain database, and leaves the service stopped for operator verification.
Fast sync does not backfill archive indexes for blocks before the snapshot. Do not use a state snapshot alone to bootstrap an archive node that promises complete historical data.
List snapshots
Section titled “List snapshots”The command detects the network from /opt/dusk/conf/rusk.toml:
download_state --listOverride detection only when necessary:
download_state --network testnet --listReplace state
Section titled “Replace state”Download the latest snapshot:
sudo download_stateOr select one of the listed block heights:
sudo download_state <BLOCK_HEIGHT>The tool downloads to a unique temporary file and removes it afterward. A successful command still leaves Rusk stopped.
Restart and verify
Section titled “Restart and verify”sudo systemctl start rusksystemctl is-active ruskruskquery peersruskquery block-heightCheck the height again after roughly 30 seconds. The node should continue syncing from the snapshot toward the current network tip.
If the service fails, inspect systemctl status rusk, /var/log/rusk.log, and /var/log/rusk_recovery.log before retrying. See Re-sync a node for the decision process.