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

docs: add quick state sync scripts #1725

Merged
merged 3 commits into from
Sep 20, 2024
Merged
Changes from 2 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
16 changes: 16 additions & 0 deletions nodes/consensus-node.md
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,22 @@ Once setup, you should be ready to start the node as normal. In the logs, you sh
see: `Discovering snapshots`. This may take a few minutes before snapshots are found
depending on the network topology.

::: tip
If you are looking to quickly sync a consensus node, and do not need historical blocks,
you can use the following scripts and state sync:

- Local devnet: <https://github.com/celestiaorg/celestia-app/blob/main/scripts/single-node.sh>
- Arabica: <https://github.com/celestiaorg/celestia-app/blob/main/scripts/arabica.sh>
- Mocha: <https://github.com/celestiaorg/celestia-app/blob/main/scripts/mocha.sh>
- Mainnet Beta: <https://github.com/celestiaorg/celestia-app/blob/main/scripts/mainnet.sh>

The public networks will use state sync so they'll get to the tip very quickly,
but won't work for your use case if you need historical blocks.

Remember to checkout to the correct version and run `make install` before running the scripts
above.
:::

### Option 3: Quick sync

Quick sync effectively downloads the entire `data` directory from a third-party provider
Expand Down
Loading