diff --git a/config/protocol.privnet.docker.four.yml b/config/protocol.privnet.docker.four.yml index 096a954b9..e54f85c0a 100644 --- a/config/protocol.privnet.docker.four.yml +++ b/config/protocol.privnet.docker.four.yml @@ -47,7 +47,7 @@ ApplicationConfiguration: PingTimeout: 90s MaxPeers: 10 AttemptConnPeers: 5 - MinPeers: 3 + MinPeers: 2 Relay: true Oracle: Enabled: false diff --git a/config/protocol.privnet.docker.one.yml b/config/protocol.privnet.docker.one.yml index dabfb9b17..779da4d17 100644 --- a/config/protocol.privnet.docker.one.yml +++ b/config/protocol.privnet.docker.one.yml @@ -47,7 +47,7 @@ ApplicationConfiguration: PingTimeout: 90s MaxPeers: 10 AttemptConnPeers: 5 - MinPeers: 3 + MinPeers: 2 Relay: true Oracle: Enabled: false diff --git a/config/protocol.privnet.docker.three.yml b/config/protocol.privnet.docker.three.yml index fe34e101b..fc293d174 100644 --- a/config/protocol.privnet.docker.three.yml +++ b/config/protocol.privnet.docker.three.yml @@ -47,7 +47,7 @@ ApplicationConfiguration: PingTimeout: 90s MaxPeers: 10 AttemptConnPeers: 5 - MinPeers: 3 + MinPeers: 2 Relay: true Oracle: Enabled: false diff --git a/config/protocol.privnet.docker.two.yml b/config/protocol.privnet.docker.two.yml index ee16490bf..86e9c7da6 100644 --- a/config/protocol.privnet.docker.two.yml +++ b/config/protocol.privnet.docker.two.yml @@ -47,7 +47,7 @@ ApplicationConfiguration: PingTimeout: 90s MaxPeers: 10 AttemptConnPeers: 5 - MinPeers: 3 + MinPeers: 2 Relay: true Oracle: Enabled: false diff --git a/docs/consensus.md b/docs/consensus.md index 3c9e6322f..2a3e300be 100644 --- a/docs/consensus.md +++ b/docs/consensus.md @@ -189,10 +189,11 @@ Examples can be found at `config/protocol.privnet.docker.one.yml` (`two`, `three `UnlockWallet` subsection with `Path` and `Password` strings for NEP-6 wallet path and the password for the account to be used for the consensus node. - 2. Make sure that your `MinPeers` setting is equal to - the number of nodes participating in consensus. - This requirement is needed for nodes to correctly - start and can be weakened in future. + 2. Make sure that your `MinPeers` setting is no more than + the number of nodes participating in consensus minus one. The + recommended setting is 2F in terms of BFT, that's the minimum number + the network can operate with (0 for a single node, 2 for 4 CNs, 4 for 7 + CNs). 3. Set `Address`, `Port` and `RPC.Port` to the appropriate values. They must differ between nodes. 4. If you start binary from the same directory, you will probably want to change