-
Notifications
You must be signed in to change notification settings - Fork 121
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add fast sync configuration note (#1486)
- Loading branch information
1 parent
953618b
commit bc1c6bd
Showing
2 changed files
with
47 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -966,52 +966,6 @@ ethstats-contact="[email protected]" | |
|
||
Contact email address to send to the Ethstats server specified by [`--ethstats`](#ethstats). | ||
|
||
### `sync-min-peers` | ||
|
||
<Tabs> | ||
|
||
<TabItem value="Syntax" label="Syntax" default> | ||
|
||
```bash | ||
--sync-min-peers=<INTEGER> | ||
``` | ||
|
||
</TabItem> | ||
|
||
<TabItem value="Example" label="Example"> | ||
|
||
```bash | ||
--sync-min-peers=8 | ||
``` | ||
|
||
</TabItem> | ||
|
||
<TabItem value="Environment variable" label="Environment variable"> | ||
|
||
```bash | ||
BESU_FAST_SYNC_MIN_PEERS=8 | ||
``` | ||
|
||
</TabItem> | ||
|
||
<TabItem value="Example configuration file" label="Example configuration file"> | ||
|
||
```bash | ||
sync-min-peers=8 | ||
``` | ||
|
||
</TabItem> | ||
|
||
</Tabs> | ||
|
||
The minimum number of peers required before starting [sync](../../get-started/connect/sync-node.md). The default is 5. | ||
|
||
:::info | ||
|
||
This option does not apply to PoS networks. | ||
|
||
::: | ||
|
||
### `genesis-file` | ||
|
||
<Tabs> | ||
|
@@ -4555,6 +4509,52 @@ strict-tx-replay-protection-enabled=false | |
|
||
Enables or disables replay protection, in accordance with [EIP-155](https://eips.ethereum.org/EIPS/eip-155), on transactions submitted using JSON-RPC. The default is `false`. | ||
|
||
### `sync-min-peers`, `fast-sync-min-peers` | ||
|
||
<Tabs> | ||
|
||
<TabItem value="Syntax" label="Syntax" default> | ||
|
||
```bash | ||
--sync-min-peers=<INTEGER> | ||
``` | ||
|
||
</TabItem> | ||
|
||
<TabItem value="Example" label="Example"> | ||
|
||
```bash | ||
--sync-min-peers=8 | ||
``` | ||
|
||
</TabItem> | ||
|
||
<TabItem value="Environment variable" label="Environment variable"> | ||
|
||
```bash | ||
BESU_SYNC_MIN_PEERS=8 | ||
``` | ||
|
||
</TabItem> | ||
|
||
<TabItem value="Example configuration file" label="Example configuration file"> | ||
|
||
```bash | ||
sync-min-peers=8 | ||
``` | ||
|
||
</TabItem> | ||
|
||
</Tabs> | ||
|
||
The minimum number of peers required before starting [sync](../../get-started/connect/sync-node.md). The default is `5`. Set to `1` to enable static peers to contribute to the initial sync. | ||
|
||
:::info | ||
|
||
This option does not apply to Proof of Stake networks. | ||
|
||
::: | ||
|
||
### `sync-mode` | ||
|
||
<Tabs> | ||
|