forked from cerc-io/plugeth
Increase default peer amount to 10
This commit is contained in:
parent
92eaa98e83
commit
dfc3cb441b
@ -33,7 +33,7 @@ func Init() {
|
|||||||
flag.StringVar(&OutboundPort, "p", "30303", "listening port")
|
flag.StringVar(&OutboundPort, "p", "30303", "listening port")
|
||||||
flag.StringVar(&DataDir, "dir", ".ethereal", "ethereum data directory")
|
flag.StringVar(&DataDir, "dir", ".ethereal", "ethereum data directory")
|
||||||
flag.StringVar(&ImportKey, "import", "", "imports the given private key (hex)")
|
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.StringVar(&AssetPath, "asset_path", "", "absolute path to GUI assets directory")
|
||||||
|
|
||||||
flag.Parse()
|
flag.Parse()
|
||||||
|
@ -39,7 +39,7 @@ func Init() {
|
|||||||
flag.StringVar(&LogFile, "logfile", "", "log file (defaults to standard output)")
|
flag.StringVar(&LogFile, "logfile", "", "log file (defaults to standard output)")
|
||||||
flag.StringVar(&DataDir, "dir", ".ethereum", "ethereum data directory")
|
flag.StringVar(&DataDir, "dir", ".ethereum", "ethereum data directory")
|
||||||
flag.StringVar(&ImportKey, "import", "", "imports the given private key (hex)")
|
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.BoolVar(&StartJsConsole, "js", false, "exp")
|
||||||
flag.StringVar(&InputFile, "e", "", "Run javascript file")
|
flag.StringVar(&InputFile, "e", "", "Run javascript file")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user