Skip to content

PELL NETWORK

Prysm banner

Prune snapshot:  436503          |         Archive snapshot:  436506

  1. Stop node:
    Terminal window
    sudo systemctl stop pellcored
  2. Backup priv_validator_state.json & reset data
    Terminal window
    cp $HOME/.pellcored/data/priv_validator_state.json $HOME/.pellcored/priv_validator_state.json.backup
  3. Install tool
    Terminal window
    sudo apt-get install wget lz4 aria2 pv -y
  4. Download snapshot:
    Terminal window
    #pruning = "custom", pruning-keep-recent = "100", pruning-interval = "10"
    cd $HOME
    rm -f pell_snapshot.lz4
    aria2c -x 16 -s 16 -k 1M https://pell.j-node.net/pell_snapshot.lz4
  5. Reset data
    Terminal window
    pellcored tendermint unsafe-reset-all --home $HOME/.pellcored --keep-addr-book
  6. Decompress snapshot
    Terminal window
    lz4 -dc pell_snapshot.lz4 | pv | tar -xf - -C $HOME/.pellcored
  7. Move priv_validator_state.json back
    Terminal window
    cp $HOME/.pellcored/priv_validator_state.json.backup $HOME/.pellcored/data/priv_validator_state.json
  8. Restart node
    Terminal window
    sudo systemctl restart pellcored && sudo systemctl status pellcored