Skip to content

Commit

Permalink
docs(config): add additional bullets
Browse files Browse the repository at this point in the history
  • Loading branch information
powerslider committed Jan 23, 2025
1 parent 48ec07b commit 17bdfad
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
9 changes: 7 additions & 2 deletions docs/content/operate/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ The fastest and preferred way is to download node snapshots provided by Omni.
mkdir -p ~/.omni/<network>
cd ~/.omni/<network>
```
2. Download and extract node snapshots for `geth` and `halo`:
2. Download and extract latest node snapshots for `geth` and `halo`:
```bash
# Create output directories.
mkdir geth halo
Expand All @@ -38,14 +38,19 @@ The fastest and preferred way is to download node snapshots provided by Omni.
# Download and extract halo snapshot.
curl -L https://storage.googleapis.com/omni-staging-snapshots/halo_data.tar.lz4 | tar --use-compress-program=lz4 -xvf - -C ./halo
```
> **NOTE**: If you are using macOS there are some additional steps in order make the above commands work correctly.
> **NOTE**
>
> If you are using macOS there are some additional steps in order make the above commands work correctly.
> ```bash
> # Install gnu-tar and lz4
> brew install gnu-tar lz4
> # Set an alias for tar, otherwise you have to use gtar instead of tar.
> alias tar=gtar
> ```
**IMPORTANT**: [CometBFT State Sync](#configure-cometbft-state-sync) should not be configured when restoring node snapshots.
## Configure halo
Halo is a CosmosSDK application. Configuring it is therefore very similar to any
Expand Down
6 changes: 4 additions & 2 deletions docs/content/operate/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,10 @@ The following three options are currently supported:
- See mode details [here](config.md#configure-cometbft-state-sync).

3. Restoring Node Snapshots
- Omni provides node snapshot (tarballs) which are disk backups of both halo and geth data directories.
- These node snapshots are taken daily from Omni's archive nodes.
- Omni provides node snapshot (tarballs) which are disk backups of both `halo` and `geth` data directories.
- These node snapshots are taken daily from Omni's archive nodes and have a larger memory footprint (check [Hardware Requirements](run-full-node.md#hardware-requirements)).
- This results in the `geth` snapshots utilizing the legacy `hash` state scheme instead of the newer and more memory efficient `path` state scheme.
- When spinning up a full node, pruning of the archive data (intermediate historical states) is to be expected.
- The nodes will replay blocks from the snapshot to the current block height.
- This is the fastest option.
- See more details [here](config.md#restoring-node-snapshots).
Expand Down

0 comments on commit 17bdfad

Please sign in to comment.