Skip to content

Commit

Permalink
celestia updated snapshots (#91)
Browse files Browse the repository at this point in the history
  • Loading branch information
karloinv authored Mar 4, 2024
1 parent c878e6e commit 3ea2a7e
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/celestia/sync/addrbook.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
sidebar_position: 4
sidebar_position: 5
description: AddrBook
---

Expand Down
2 changes: 1 addition & 1 deletion docs/celestia/sync/peers-seeds.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
sidebar_position: 3
sidebar_position: 4
description: Live Peers / Seeds
---

Expand Down
32 changes: 32 additions & 0 deletions docs/celestia/sync/snapshot-archive.md
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
```
2 changes: 1 addition & 1 deletion docs/celestia/sync/state-sync.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
sidebar_position: 2
sidebar_position: 4
description: State Sync
---

Expand Down

0 comments on commit 3ea2a7e

Please sign in to comment.