|
|
@ -565,12 +565,12 @@ var ( |
|
|
|
MaxPeersFlag = cli.IntFlag{ |
|
|
|
MaxPeersFlag = cli.IntFlag{ |
|
|
|
Name: "maxpeers", |
|
|
|
Name: "maxpeers", |
|
|
|
Usage: "Maximum number of network peers (network disabled if set to 0)", |
|
|
|
Usage: "Maximum number of network peers (network disabled if set to 0)", |
|
|
|
Value: 25, |
|
|
|
Value: node.DefaultConfig.P2P.MaxPeers, |
|
|
|
} |
|
|
|
} |
|
|
|
MaxPendingPeersFlag = cli.IntFlag{ |
|
|
|
MaxPendingPeersFlag = cli.IntFlag{ |
|
|
|
Name: "maxpendpeers", |
|
|
|
Name: "maxpendpeers", |
|
|
|
Usage: "Maximum number of pending connection attempts (defaults used if set to 0)", |
|
|
|
Usage: "Maximum number of pending connection attempts (defaults used if set to 0)", |
|
|
|
Value: 0, |
|
|
|
Value: node.DefaultConfig.P2P.MaxPendingPeers, |
|
|
|
} |
|
|
|
} |
|
|
|
ListenPortFlag = cli.IntFlag{ |
|
|
|
ListenPortFlag = cli.IntFlag{ |
|
|
|
Name: "port", |
|
|
|
Name: "port", |
|
|
|