aboutsummaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2019-04-25 17:54:33 +0800
committerPéter Szilágyi <peterke@gmail.com>2019-04-25 17:54:33 +0800
commit0758d7fe5c3443fd50e6b46f494a47e28d35a961 (patch)
tree9139b0d279b111c94a02bc5307c513abbd6060c0 /cmd
parent749ccab9a4fb778c144f2e435249a8bb697e974e (diff)
downloadgo-tangerine-0758d7fe5c3443fd50e6b46f494a47e28d35a961.tar
go-tangerine-0758d7fe5c3443fd50e6b46f494a47e28d35a961.tar.gz
go-tangerine-0758d7fe5c3443fd50e6b46f494a47e28d35a961.tar.bz2
go-tangerine-0758d7fe5c3443fd50e6b46f494a47e28d35a961.tar.lz
go-tangerine-0758d7fe5c3443fd50e6b46f494a47e28d35a961.tar.xz
go-tangerine-0758d7fe5c3443fd50e6b46f494a47e28d35a961.tar.zst
go-tangerine-0758d7fe5c3443fd50e6b46f494a47e28d35a961.zip
cmd/utils, node: switch over default peer count to 50
Diffstat (limited to 'cmd')
-rw-r--r--cmd/utils/flags.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/utils/flags.go b/cmd/utils/flags.go
index 513557a03..ab4060dd2 100644
--- a/cmd/utils/flags.go
+++ b/cmd/utils/flags.go
@@ -565,12 +565,12 @@ var (
MaxPeersFlag = cli.IntFlag{
Name: "maxpeers",
Usage: "Maximum number of network peers (network disabled if set to 0)",
- Value: 25,
+ Value: node.DefaultConfig.P2P.MaxPeers,
}
MaxPendingPeersFlag = cli.IntFlag{
Name: "maxpendpeers",
Usage: "Maximum number of pending connection attempts (defaults used if set to 0)",
- Value: 0,
+ Value: node.DefaultConfig.P2P.MaxPendingPeers,
}
ListenPortFlag = cli.IntFlag{
Name: "port",