The Bifrost Network provides snapshots of the chain data. Snapshots are updated at regular intervals. This allows node operators to spend less time on data synchronization and reduce the load on the network.
Follow the link, and complete the snapshot download & export process.
Return to the process in the operation manual once complete.
2. Synchronization from the Genesis Block
This method does not require downloading snapshots. This section works for both archive and full modes.
1. Block 0 to 336115
For initial synchronization, utilize bifrost-node 1.0.2 up to at least block 336115.
wget"https://github.com/bifrost-platform/bifrost-node/releases/download/v1.0.2/bifrost-node"wget"https://github.com/bifrost-platform/bifrost-node/releases/download/v1.0.2/bifrost-testnet.json"chmod+xbifrost-nodemvbifrost-nodebifrost-testnet.json<YOUR-BASE-PATH-DIRECTORY>cd<YOUR-BASE-PATH-DIRECTORY># For archive-mode./bifrost-node--base-path./--chain./bifrost-testnet.json--port30333--pruningarchive--runtime-cache-size128# For full-mode (remove --pruning option)./bifrost-node--base-path./--chain./bifrost-testnet.json--port30333--runtime-cache-size128
After start running your node, it will start to synchronize chain data from the genesis block as below. (In some cases, error logs might be displayed, but for now, those are fine to ignore)
# After terminate existing bifrost-nodecd<YOUR-BASE-PATH-DIRECTORY>rmbifrost-nodewgethttps://github.com/bifrost-platform/bifrost-node/releases/latest/download/bifrost-nodewgethttps://github.com/bifrost-platform/bifrost-node/releases/latest/download/bifrost-testnet.jsonchmod+xbifrost-node# For archive-mode (the option name for --pruning has changed to --state-pruning)./bifrost-node--base-path./--chain./bifrost-testnet.json--port30333--state-pruningarchive--runtime-cache-size128# For full-mode (remove --state-pruning option)./bifrost-node--base-path./--chain./bifrost-testnet.json--port30333--runtime-cache-size128
After restarting your node, in some cases, error logs might be displayed as before, however it is fine to ignore.
3. Complete synchronization
Synchronization is complete once “Syncing” does not appear in the log. Return to the process on the operation manual.