diff options
author | Maran <maran.hidskes@gmail.com> | 2014-05-20 17:52:36 +0800 |
---|---|---|
committer | Maran <maran.hidskes@gmail.com> | 2014-05-20 17:52:36 +0800 |
commit | dfc3cb441bed85728914f5575a86c9fcb1f61211 (patch) | |
tree | 6bd1fa636f862b07dbf7ee3d5df99f95e10dc4ce | |
parent | 92eaa98e8381bef5224ffe864aa1cd4288af4d12 (diff) | |
download | go-tangerine-dfc3cb441bed85728914f5575a86c9fcb1f61211.tar.gz go-tangerine-dfc3cb441bed85728914f5575a86c9fcb1f61211.tar.zst go-tangerine-dfc3cb441bed85728914f5575a86c9fcb1f61211.zip |
Increase default peer amount to 10
-rw-r--r-- | ethereal/config.go | 2 | ||||
-rw-r--r-- | 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") |