Update MaxPeers comment

This commit is contained in:
Klimov Sergei 2025-08-13 06:13:37 +08:00 committed by GitHub
parent 56edd21453
commit e0902952ec
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -35,8 +35,7 @@ type Config struct {
// This field must be set to a valid secp256k1 private key. // This field must be set to a valid secp256k1 private key.
PrivateKey *ecdsa.PrivateKey `toml:"-"` PrivateKey *ecdsa.PrivateKey `toml:"-"`
// MaxPeers is the maximum number of peers that can be // MaxPeers is the maximum number of peers that can be connected.
// connected. It must be greater than zero.
MaxPeers int MaxPeers int
// MaxPendingPeers is the maximum number of peers that can be pending in the // MaxPendingPeers is the maximum number of peers that can be pending in the