Skip to content

Commit

Permalink
6612: Remove remaining references to X_SNAP and X_CHECKPOINT from unv… (
Browse files Browse the repository at this point in the history
#1651)

* 6612: Remove remaining references to X_SNAP and X_CHECKPOINT from unversioned docs

Signed-off-by: Matilda Clerke <[email protected]>

* Update docs/public-networks/how-to/bonsai-limit-trie-logs.md

Co-authored-by: Sally MacFarlane <[email protected]>
Signed-off-by: Joan E <[email protected]>

---------

Signed-off-by: Matilda Clerke <[email protected]>
Signed-off-by: Joan E <[email protected]>
Co-authored-by: Joan E <[email protected]>
Co-authored-by: Sally MacFarlane <[email protected]>
  • Loading branch information
3 people authored Jul 15, 2024
1 parent 42b7710 commit 21271eb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/public-networks/how-to/bonsai-limit-trie-logs.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Before executing these example commands on your node, modify them to apply to yo
1. Stop Besu.
1. (Optional) Run the Besu trie log prune command. Specify the Bonsai Trie data storage format and the data directory for your Besu database:
```bash
sudo /usr/local/bin/besu/bin/besu --data-storage-format=BONSAI --data-path=/var/lib/besu --sync-mode=X_SNAP storage trie-log prune
sudo /usr/local/bin/besu/bin/besu --data-storage-format=BONSAI --data-path=/var/lib/besu --sync-mode=SNAP storage trie-log prune
```
1. Start Besu.
1. Look for `Limit trie logs enabled: retention: 512; prune window: 30000` in your Besu configuration printout at startup.
Expand Down Expand Up @@ -198,8 +198,8 @@ You must shut down the Besu client before running the subcommand.
- `java.lang.IllegalStateException: Unable to change the sync mode when snap sync is incomplete, please restart with snap sync mode`

Check that you have specified `--sync-mode`.
The default is `--sync-mode=FAST`.
Most Mainnet users use `X_SNAP` or `X_CHECKPOINT`.
The default is `--sync-mode=SNAP`.
Most Mainnet users use `SNAP` or `CHECKPOINT`.

### Cannot run trie log prune

Expand Down

0 comments on commit 21271eb

Please sign in to comment.