- Make sure your hardware meets the suggested requirement.
- A disk with enough free storage, at least twice the size of the snapshot.
As the snapshot is getting larger, now it is difficult to download it by simply wget
, you need to use aria2c
as it supports resumable transmission. And aria2c
may fail sometimes, we provide a script to make it easier.
- Copy the above snapshot URL.
- install it first:
sudo yum install aria2c
- download the script: download.sh
- run:
nohup ./download.sh "<paste snapshot URL here>" <your dir> &
- Uncompress will take more than two hours, put it in the background by
nohup tar -I lz4 -xvf geth.tar.lz4 &
- First, stop the running bsc client if you have one by
kill {pid}
, and make sure the client has shut down. - Consider backing up the original data if needed:
mv ${BSC_DataDir}/geth/chaindata ${BSC_DataDir}/geth/chaindata_backup
- Replace the data:
mv server/data-seed/geth/chaindata ${BSC_DataDir}/geth/chaindata
- Start the bsc client again and check the logs
The snapshot listed homepage are based the default mode(PBSS&Pebble). For other customized usage, pls refer Advanced Usage.