Added fast sync options (#1241)

Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
pull/2/head
MadelineMurray 6 years ago committed by mbaxter
parent f89f5b5a02
commit f24fe70bb9
  1. 40
      docs/Reference/Pantheon-CLI-Syntax.md

@ -1059,6 +1059,44 @@ Default is `INFO`.
Print version information and exit.
## Fast Sync Options
!!! important
Support for fast sync is currently experimental. Fast sync is in active development. The fast sync options are available
but hidden on the command line.
### sync-mode
```bash tab="Syntax"
--sync-mode=FAST
```
```bash tab="Example Command Line"
--sync-mode=FAST
```
```bash tab="Example Configuration File"
sync-mode="FAST"
```
Specifies the synchronization mode. Default is `FULL`.
### fast-sync-min-peers
```bash tab="Syntax"
--fast-sync-min-peers=<INTEGER>
```
```bash tab="Example Command Line"
--fast-sync-min-peers=2
```
```bash tab="Example Configuration File"
fast-sync-min-peers=2
```
Minimum number of peers required before starting fast sync. Default is 5.
## Commands
Pantheon subcommands are:
@ -1198,4 +1236,4 @@ This data is included in the [IBFT 2.0 genesis file](../Consensus-Protocols/IBFT
``` tab="RLP Output"
0xf853a00000000000000000000000000000000000000000000000000000000000000000ea94be068f726a13c8d46c44be6ce9d275600e1735a4945ff6f4b66a46a2b2310a6f3a93aaddc0d9a1c193808400000000c0
```
```

Loading…
Cancel
Save