Run a chain via snapshot
Workflow of running a chain node
Download snapshot
Method 1:
wget https://chain-snapshot-data.bool.network/beta-testnet-node-snapshot-latest.zip
Replace data
beta-testnet-node-snapshot-latest.zip has been downloaded. Unzip the beta-testnet-node-snapshot-latest.zip to the specified chain node data directory, replace the original data directory node-data, and then restart the chain service node. Assume that your link node data directory is ~/bool-beta-testnode
mv ~/bool-beta-testnode/node-data ~/bool-beta-testnode/node-data_old
unzip beta-testnet-node-snapshot-latest.zip -d ~/bool-beta-testnode/
(Optional) Modify docker-compose.yaml
Modify the node's docker-compose.yaml configuration to remove --state-pruning archive
and --block-pruning archive
sed -i '/--state-pruning archive/d;/--blocks-pruning archive/d' docker-compose.yaml
Start the chain service node
docker-compose up -d
Last updated