We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c74f23 commit 62ac0e0Copy full SHA for 62ac0e0
p2p/config.go
@@ -35,8 +35,7 @@ type Config struct {
35
// This field must be set to a valid secp256k1 private key.
36
PrivateKey *ecdsa.PrivateKey `toml:"-"`
37
38
- // MaxPeers is the maximum number of peers that can be
39
- // connected. It must be greater than zero.
+ // MaxPeers is the maximum number of peers that can be connected.
40
MaxPeers int
41
42
// MaxPendingPeers is the maximum number of peers that can be pending in the
0 commit comments