diff options
author | obscuren <geffobscura@gmail.com> | 2014-03-22 19:03:03 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-03-22 19:03:03 +0800 |
commit | 45ec9c88e4bb5060455df4c12891f94fb5bb28c6 (patch) | |
tree | 0a5a24c147a740c16b6b9c3cfbfcc53a7f07943c /node/config.go | |
parent | fe79a8f72466a8abff45de8dafc138389ddaea90 (diff) | |
download | dexon-45ec9c88e4bb5060455df4c12891f94fb5bb28c6.tar dexon-45ec9c88e4bb5060455df4c12891f94fb5bb28c6.tar.gz dexon-45ec9c88e4bb5060455df4c12891f94fb5bb28c6.tar.bz2 dexon-45ec9c88e4bb5060455df4c12891f94fb5bb28c6.tar.lz dexon-45ec9c88e4bb5060455df4c12891f94fb5bb28c6.tar.xz dexon-45ec9c88e4bb5060455df4c12891f94fb5bb28c6.tar.zst dexon-45ec9c88e4bb5060455df4c12891f94fb5bb28c6.zip |
Moved node to ethereum
Diffstat (limited to 'node/config.go')
-rw-r--r-- | node/config.go | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/node/config.go b/node/config.go deleted file mode 100644 index e4935dfed..000000000 --- a/node/config.go +++ /dev/null @@ -1,37 +0,0 @@ -package main - -import ( - "flag" -) - -var StartConsole bool -var StartMining bool -var UseUPnP bool -var OutboundPort string -var ShowGenesis bool -var AddPeer string -var MaxPeer int -var GenAddr bool -var UseSeed bool -var ImportKey string -var ExportKey bool - -//var UseGui bool -var DataDir string - -func Init() { - flag.BoolVar(&StartConsole, "c", false, "debug and testing console") - flag.BoolVar(&StartMining, "m", false, "start dagger mining") - flag.BoolVar(&ShowGenesis, "g", false, "prints genesis header and exits") - //flag.BoolVar(&UseGui, "gui", true, "use the gui") - flag.BoolVar(&UseUPnP, "upnp", false, "enable UPnP support") - flag.BoolVar(&UseSeed, "seed", true, "seed peers") - flag.BoolVar(&GenAddr, "genaddr", false, "create a new priv/pub key") - flag.BoolVar(&ExportKey, "export", false, "export private key") - flag.StringVar(&OutboundPort, "p", "30303", "listening port") - 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.Parse() -} |