diff options
author | obscuren <geffobscura@gmail.com> | 2015-02-20 05:46:15 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-02-20 05:46:15 +0800 |
commit | 000658539136645e743d83d57a8106b2a9796b93 (patch) | |
tree | ca37fb68b6b7574d7c888968813598e68d301659 /cmd/mist/flags.go | |
parent | fa4cbad315609e41d88c59ecbce7c6c6169fc57a (diff) | |
parent | 639ac5c3daa253f36d41672165a5727d8eba207e (diff) | |
download | go-tangerine-000658539136645e743d83d57a8106b2a9796b93.tar go-tangerine-000658539136645e743d83d57a8106b2a9796b93.tar.gz go-tangerine-000658539136645e743d83d57a8106b2a9796b93.tar.bz2 go-tangerine-000658539136645e743d83d57a8106b2a9796b93.tar.lz go-tangerine-000658539136645e743d83d57a8106b2a9796b93.tar.xz go-tangerine-000658539136645e743d83d57a8106b2a9796b93.tar.zst go-tangerine-000658539136645e743d83d57a8106b2a9796b93.zip |
Merge branch 'develop' of github.com-obscure:ethereum/go-ethereum into develop
Diffstat (limited to 'cmd/mist/flags.go')
-rw-r--r-- | cmd/mist/flags.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cmd/mist/flags.go b/cmd/mist/flags.go index eb280f71b..d9487de9e 100644 --- a/cmd/mist/flags.go +++ b/cmd/mist/flags.go @@ -63,6 +63,7 @@ var ( DebugFile string LogLevel int VmType int + MinerThreads int ) // flags specific to gui client @@ -137,6 +138,8 @@ func Init() { flag.StringVar(&BootNodes, "bootnodes", "", "space-separated node URLs for discovery bootstrap") flag.IntVar(&MaxPeer, "maxpeer", 30, "maximum desired peers") + flag.IntVar(&MinerThreads, "minerthreads", runtime.NumCPU(), "number of miner threads") + flag.Parse() var err error |