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

Remove --Xsnapsync-bft-enabled #1739

Merged
merged 10 commits into from
Mar 13, 2025
42 changes: 42 additions & 0 deletions docs/private-networks/reference/cli/options.md
Original file line number Diff line number Diff line change
Expand Up @@ -922,6 +922,48 @@ privacy-url="http://127.0.0.1:8888"

The URL on which the [Tessera node](../../tutorials/privacy/index.md#3-create-tessera-configuration-files) is running.

### `snapsync-bft-enabled`

<Tabs>

<TabItem value="Syntax" label="Syntax" default>

```bash
--snapsync-bft-enabled[=<true|false>]
```

</TabItem>

<TabItem value="Example" label="Example">

```bash
--snapsync-bft-enabled=true
```

</TabItem>

<TabItem value="Environment variable" label="Environment variable">

```bash
BESU_SNAPSYNC_BFT_ENABLED=true
```

</TabItem>

<TabItem value="Configuration file" label="Configuration file">

```bash
snapsync-bft-enabled=true
```

</TabItem>

</Tabs>

Enables or disables snapsync in IBFT 2.0 and QBFT private networks. The default is `false`.

Use `--snapsync-bft-enabled` with `--sync-mode=SNAP` to enable snapsync in QBFT and IBFT 2.0 private networks.

<!-- Links -->

[accounts permissions configuration file]: ../../how-to/use-permissioning/local.md#permissions-configuration-file
Expand Down
9 changes: 0 additions & 9 deletions docs/public-networks/reference/cli/options.md
Original file line number Diff line number Diff line change
Expand Up @@ -5589,15 +5589,6 @@ The synchronization mode. Use `SNAP` for [snap sync](../../concepts/node-sync.md

:::

:::warning Early access feature

`--Xsnapsync-bft-enabled` is an early access feature available in Besu version 24.7.1 and later.
It is not stable, so use this option with caution.

Use `--Xsnapsync-bft-enabled` with `--sync-mode=SNAP` to enable snap sync in QBFT and IBFT 2.0 private networks.

:::

### `target-gas-limit`

<Tabs>
Expand Down