Skip to content

Commit

Permalink
sync-min-peers is not only for fast sync (#1478)
Browse files Browse the repository at this point in the history
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
  • Loading branch information
macfarla authored Jan 9, 2024
1 parent 3b662ad commit e373e8a
Showing 1 changed file with 7 additions and 7 deletions.
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

0 comments on commit e373e8a

Please sign in to comment.