Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

celestia updated snapshots #91

Merged
merged 1 commit into from
Mar 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading