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

sync-min-peers is not only for fast sync #1478

Merged
merged 1 commit into from
Jan 9, 2024
Merged
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
14 changes: 7 additions & 7 deletions docs/public-networks/reference/cli/options.md
Original file line number Diff line number Diff line change
Expand Up @@ -966,22 +966,22 @@ ethstats-contact="contact@mail.com"

Contact email address to send to the Ethstats server specified by [`--ethstats`](#ethstats).

### `fast-sync-min-peers`
### `sync-min-peers`

<Tabs>

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

```bash
--fast-sync-min-peers=<INTEGER>
--sync-min-peers=<INTEGER>
```

</TabItem>

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

```bash
--fast-sync-min-peers=8
--sync-min-peers=8
```

</TabItem>
Expand All @@ -997,18 +997,18 @@ BESU_FAST_SYNC_MIN_PEERS=8
<TabItem value="Example configuration file" label="Example configuration file">

```bash
fast-sync-min-peers=8
sync-min-peers=8
```

</TabItem>

</Tabs>

The minimum number of peers required before starting [fast synchronization](../../get-started/connect/sync-node.md#fast-synchronization) in [proof of work](../../how-to/use-pow/mining.md) networks. The default is 5.
The minimum number of peers required before starting [sync](../../get-started/connect/sync-node.md). The default is 5.

:::info

This option only applies to proof of work networks.
This option does not apply to PoS networks.

:::

Expand Down Expand Up @@ -5243,4 +5243,4 @@ Prints version information and exit.
<!-- Links -->

[push gateway integration]: ../../how-to/monitor/metrics.md#running-prometheus-with-besu-in-push-mode
[JWT provider's public key file]: ../../how-to/use-besu-api/authenticate.md#jwt-public-key-authentication
[JWT provider's public key file]: ../../how-to/use-besu-api/authenticate.md#jwt-public-key-authentication