mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-11-28 19:31:34 +00:00
Merge pull request #2945 from nspcc-dev/adj-minpeers-doc
docs: add minor note to `MinPeers` config section
This commit is contained in:
commit
de7bff9cea
1 changed files with 3 additions and 1 deletions
|
@ -86,7 +86,9 @@ where:
|
||||||
sender stored in a local pool.
|
sender stored in a local pool.
|
||||||
- `MaxPeers` (`int`) is the maximum numbers of peers that can be connected to the server.
|
- `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
|
- `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
|
- `PingInterval` (`Duration`) is the interval used in pinging mechanism for syncing
|
||||||
blocks.
|
blocks.
|
||||||
- `PingTimeout` (`Duration`) is the time to wait for pong (response for sent ping request).
|
- `PingTimeout` (`Duration`) is the time to wait for pong (response for sent ping request).
|
||||||
|
|
Loading…
Reference in a new issue