-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
35 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
--- | ||
sidebar_position: 4 | ||
sidebar_position: 5 | ||
description: AddrBook | ||
--- | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
--- | ||
sidebar_position: 3 | ||
sidebar_position: 4 | ||
description: Live Peers / Seeds | ||
--- | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
--- | ||
sidebar_position: 2 | ||
description: Archival snapshot | ||
--- | ||
|
||
# Archival snapshot | ||
|
||
> This snapshot contains the full state of the blockchain. | ||
import Snapshots from '@site/src/components/Snapshots'; | ||
|
||
<Snapshots tip="Click on any snapshot to paste it into the code block." endpoint="https://celestia-snapshots-archive.f5nodes.com/"/> | ||
|
||
:::info | ||
Snapshots are taken every <i>24 hours</i>. | ||
::: | ||
|
||
```bash | ||
sudo systemctl stop celestia-appd | ||
|
||
# make a backup | ||
cp $HOME/.celestia-app/data/priv_validator_state.json $HOME/.celestia-app/priv_validator_state.json.backup | ||
|
||
# reset your node and download a snapshot | ||
celestia-appd tendermint unsafe-reset-all --home $HOME/.celestia-app --keep-addr-book | ||
wget <snapshot_url> | lz4 -dc - | tar -xf - -C $HOME/.celestia-app | ||
|
||
# replace the priv_validator_state.json you have backed up | ||
mv $HOME/.celestia-app/priv_validator_state.json.backup $HOME/.celestia-app/data/priv_validator_state.json | ||
|
||
sudo systemctl restart celestia-appd && sudo journalctl -u celestia-appd -f -o cat | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
--- | ||
sidebar_position: 2 | ||
sidebar_position: 4 | ||
description: State Sync | ||
--- | ||
|
||
|