Added a basic <UNSTABLE> UI

This commit is contained in:
obscuren
2014-02-21 12:37:40 +01:00
parent d7ecc92c41
commit 05c353eca0
4 changed files with 211 additions and 31 deletions

View File

@ -15,11 +15,13 @@ var GenAddr bool
var UseSeed bool
var ImportKey string
var ExportKey bool
var UseGui bool
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", false, "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")