Merge branch 'develop' of github.com:ethereum/go-ethereum into removews
Conflicts: cmd/ethereum/flags.go cmd/mist/flags.go
This commit is contained in:
		@@ -37,30 +37,30 @@ import (
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
var (
 | 
			
		||||
	Identifier      string
 | 
			
		||||
	KeyRing         string
 | 
			
		||||
	KeyStore        string
 | 
			
		||||
	StartRpc        bool
 | 
			
		||||
	StartWebSockets bool
 | 
			
		||||
	RpcPort         int
 | 
			
		||||
	OutboundPort    string
 | 
			
		||||
	ShowGenesis     bool
 | 
			
		||||
	AddPeer         string
 | 
			
		||||
	MaxPeer         int
 | 
			
		||||
	GenAddr         bool
 | 
			
		||||
	BootNodes       string
 | 
			
		||||
	NodeKey         *ecdsa.PrivateKey
 | 
			
		||||
	NAT             nat.Interface
 | 
			
		||||
	SecretFile      string
 | 
			
		||||
	ExportDir       string
 | 
			
		||||
	NonInteractive  bool
 | 
			
		||||
	Datadir         string
 | 
			
		||||
	LogFile         string
 | 
			
		||||
	ConfigFile      string
 | 
			
		||||
	DebugFile       string
 | 
			
		||||
	LogLevel        int
 | 
			
		||||
	VmType          int
 | 
			
		||||
	MinerThreads    int
 | 
			
		||||
	Identifier       string
 | 
			
		||||
	KeyRing          string
 | 
			
		||||
	KeyStore         string
 | 
			
		||||
	StartRpc         bool
 | 
			
		||||
	RpcListenAddress string
 | 
			
		||||
	RpcPort          int
 | 
			
		||||
	OutboundPort     string
 | 
			
		||||
	ShowGenesis      bool
 | 
			
		||||
	AddPeer          string
 | 
			
		||||
	MaxPeer          int
 | 
			
		||||
	GenAddr          bool
 | 
			
		||||
	BootNodes        string
 | 
			
		||||
	NodeKey          *ecdsa.PrivateKey
 | 
			
		||||
	NAT              nat.Interface
 | 
			
		||||
	SecretFile       string
 | 
			
		||||
	ExportDir        string
 | 
			
		||||
	NonInteractive   bool
 | 
			
		||||
	Datadir          string
 | 
			
		||||
	LogFile          string
 | 
			
		||||
	ConfigFile       string
 | 
			
		||||
	DebugFile        string
 | 
			
		||||
	LogLevel         int
 | 
			
		||||
	VmType           int
 | 
			
		||||
	MinerThreads     int
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
// flags specific to gui client
 | 
			
		||||
@@ -78,6 +78,7 @@ func Init() {
 | 
			
		||||
	flag.StringVar(&Identifier, "id", "", "Custom client identifier")
 | 
			
		||||
	flag.StringVar(&KeyRing, "keyring", "", "identifier for keyring to use")
 | 
			
		||||
	flag.StringVar(&KeyStore, "keystore", "db", "system to store keyrings: db|file (db)")
 | 
			
		||||
	flag.StringVar(&RpcListenAddress, "rpcaddr", "127.0.0.1", "address for json-rpc server to listen on")
 | 
			
		||||
	flag.IntVar(&RpcPort, "rpcport", 8545, "port to start json-rpc server on")
 | 
			
		||||
	flag.BoolVar(&StartRpc, "rpc", true, "start rpc server")
 | 
			
		||||
	flag.BoolVar(&NonInteractive, "y", false, "non-interactive mode (say yes to confirmations)")
 | 
			
		||||
 
 | 
			
		||||
@@ -73,7 +73,7 @@ func run() error {
 | 
			
		||||
	utils.KeyTasks(ethereum.KeyManager(), KeyRing, GenAddr, SecretFile, ExportDir, NonInteractive)
 | 
			
		||||
 | 
			
		||||
	if StartRpc {
 | 
			
		||||
		utils.StartRpc(ethereum, RpcPort)
 | 
			
		||||
		utils.StartRpc(ethereum, RpcListenAddress, RpcPort)
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	gui := NewWindow(ethereum, config, KeyRing, LogLevel)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user