aboutsummaryrefslogtreecommitdiffstats
path: root/ethereal
diff options
context:
space:
mode:
authorzelig <viktor.tron@gmail.com>2014-06-26 17:47:45 +0800
committerzelig <viktor.tron@gmail.com>2014-06-26 17:47:45 +0800
commit2f96652bb408e65c205317403d749ba9a395c6bb (patch)
tree401b515d2a1d1d668ed692c8a39788f06ebc2b73 /ethereal
parent9a06efd0809c370451c5e85ce4688104cd5df461 (diff)
downloadgo-tangerine-2f96652bb408e65c205317403d749ba9a395c6bb.tar
go-tangerine-2f96652bb408e65c205317403d749ba9a395c6bb.tar.gz
go-tangerine-2f96652bb408e65c205317403d749ba9a395c6bb.tar.bz2
go-tangerine-2f96652bb408e65c205317403d749ba9a395c6bb.tar.lz
go-tangerine-2f96652bb408e65c205317403d749ba9a395c6bb.tar.xz
go-tangerine-2f96652bb408e65c205317403d749ba9a395c6bb.tar.zst
go-tangerine-2f96652bb408e65c205317403d749ba9a395c6bb.zip
interrupt handlers now ordered
Diffstat (limited to 'ethereal')
-rw-r--r--ethereal/main.go12
1 files changed, 8 insertions, 4 deletions
diff --git a/ethereal/main.go b/ethereal/main.go
index 10571be7b..5dfab4c45 100644
--- a/ethereal/main.go
+++ b/ethereal/main.go
@@ -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)
+
+
}