mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-12-22 19:19:09 +00:00
docs: add minor note to MinPeers
config section
This commit is contained in:
parent
7306beca4d
commit
f672a97d1b
1 changed files with 3 additions and 1 deletions
|
@ -86,7 +86,9 @@ where:
|
|||
sender stored in a local pool.
|
||||
- `MaxPeers` (`int`) is the maximum numbers of peers that can be connected to the server.
|
||||
- `MinPeers` (`int`) is the minimum number of peers for normal operation; when the node has
|
||||
less than this number of peers it tries to connect with some new ones.
|
||||
less than this number of peers it tries to connect with some new ones. Note that consensus
|
||||
node won't start the consensus process until at least `MinPeers` number of peers are
|
||||
connected.
|
||||
- `PingInterval` (`Duration`) is the interval used in pinging mechanism for syncing
|
||||
blocks.
|
||||
- `PingTimeout` (`Duration`) is the time to wait for pong (response for sent ping request).
|
||||
|
|
Loading…
Reference in a new issue