Skip to content

Latest commit

 

History

History
60 lines (41 loc) · 1.27 KB

bsc-reth-snapshot.md

File metadata and controls

60 lines (41 loc) · 1.27 KB

BSC Reth Fullnode Snapshot Usage

Follow these steps to get and set up the latest BSC Reth fullnode snapshot from the Reth Snapshots page.

Download Snapshots and Extract to Reth Path

You have two options to download and extract the snapshot data.

Option 1: Download, Verify, and Extract

  1. Download the snapshot file:
aria2c -s4 -x4 -k1024M ${DOWNLOAD_LINK} -o bsc-reth.tar.lz4
  1. Verify the file's integrity using md5sum:
md5sum bsc-reth.tar.lz4
  1. Extract the data to the Reth path:
tar -I lz4 -xvf bsc-reth.tar.lz4 -C ${PATH_TO_RETH_DATA}

Option 2: Download and Extract in a Single Step

Use this option to download and extract the data in one step via piping:

wget ${DOWNLOAD_LINK} -O- | tar -I lz4 -xvf - -C ${PATH_TO_RETH_DATA}

Start the Node

After the data has been extracted, you can start your BSC Reth node with the following command:

FullNode

bsc-reth node \
    --datadir=${PATH_TO_RETH_DATA}/server-reth \
    --chain=bsc \
    --http \
    --http.api="eth, net, txpool, web3, rpc" \
    --full

ArchiveNode

bsc-reth node \
    --datadir=${PATH_TO_RETH_DATA}/server-reth \
    --chain=bsc \
    --http \
    --http.api="eth, net, txpool, web3, rpc"