From dfc3cb441bed85728914f5575a86c9fcb1f61211 Mon Sep 17 00:00:00 2001 From: Maran Date: Tue, 20 May 2014 11:52:36 +0200 Subject: [PATCH] Increase default peer amount to 10 --- ethereal/config.go | 2 +- ethereum/config.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ethereal/config.go b/ethereal/config.go index e4bdb0a00..817befc2c 100644 --- a/ethereal/config.go +++ b/ethereal/config.go @@ -33,7 +33,7 @@ func Init() { flag.StringVar(&OutboundPort, "p", "30303", "listening port") flag.StringVar(&DataDir, "dir", ".ethereal", "ethereum data directory") flag.StringVar(&ImportKey, "import", "", "imports the given private key (hex)") - flag.IntVar(&MaxPeer, "x", 5, "maximum desired peers") + flag.IntVar(&MaxPeer, "x", 10, "maximum desired peers") flag.StringVar(&AssetPath, "asset_path", "", "absolute path to GUI assets directory") flag.Parse() diff --git a/ethereum/config.go b/ethereum/config.go index 090c022b0..117aa6f2c 100644 --- a/ethereum/config.go +++ b/ethereum/config.go @@ -39,7 +39,7 @@ func Init() { flag.StringVar(&LogFile, "logfile", "", "log file (defaults to standard output)") flag.StringVar(&DataDir, "dir", ".ethereum", "ethereum data directory") flag.StringVar(&ImportKey, "import", "", "imports the given private key (hex)") - flag.IntVar(&MaxPeer, "x", 5, "maximum desired peers") + flag.IntVar(&MaxPeer, "x", 10, "maximum desired peers") flag.BoolVar(&StartJsConsole, "js", false, "exp") flag.StringVar(&InputFile, "e", "", "Run javascript file")