interrupt handlers now ordered

This commit is contained in:
zelig
2014-06-26 10:47:45 +01:00
parent 9a06efd080
commit 2f96652bb4
4 changed files with 24 additions and 16 deletions

View File

@ -8,10 +8,12 @@ import (
)
func main() {
qml.Init(nil)
runtime.GOMAXPROCS(runtime.NumCPU())
utils.HandleInterrupt()
qml.Init(nil)
// precedence: code-internal flag default < config file < environment variables < command line
Init() // parsing command line
utils.InitConfig(ConfigFile, Datadir, Identifier, "ETH")
@ -33,8 +35,10 @@ func main() {
utils.StartRpc(ethereum, RpcPort)
}
utils.StartEthereum(ethereum, UseSeed)
gui := ethui.New(ethereum, LogLevel)
gui.Start(AssetPath)
utils.StartEthereum(ethereum, UseSeed)
}