diff options
author | Maran <maran.hidskes@gmail.com> | 2014-05-02 19:35:03 +0800 |
---|---|---|
committer | Maran <maran.hidskes@gmail.com> | 2014-05-02 19:35:03 +0800 |
commit | 3424bf17ca791b97ea512bef5290d1a52c1758af (patch) | |
tree | 247dafa437609d9e2c53376adb2afa6cbbcbacc4 /ethereal/config.go | |
parent | 1b597b8ca9ee9564f29b93e1ba5877e012a8d989 (diff) | |
download | dexon-3424bf17ca791b97ea512bef5290d1a52c1758af.tar dexon-3424bf17ca791b97ea512bef5290d1a52c1758af.tar.gz dexon-3424bf17ca791b97ea512bef5290d1a52c1758af.tar.bz2 dexon-3424bf17ca791b97ea512bef5290d1a52c1758af.tar.lz dexon-3424bf17ca791b97ea512bef5290d1a52c1758af.tar.xz dexon-3424bf17ca791b97ea512bef5290d1a52c1758af.tar.zst dexon-3424bf17ca791b97ea512bef5290d1a52c1758af.zip |
Moved RPC Server and implemented it as a package
Diffstat (limited to 'ethereal/config.go')
-rw-r--r-- | ethereal/config.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ethereal/config.go b/ethereal/config.go index ac4484d0b..94f896c5f 100644 --- a/ethereal/config.go +++ b/ethereal/config.go @@ -6,6 +6,7 @@ import ( var StartConsole bool var StartMining bool +var StartRpc bool var UseUPnP bool var OutboundPort string var ShowGenesis bool @@ -21,6 +22,7 @@ var AssetPath string func Init() { flag.BoolVar(&StartConsole, "c", false, "debug and testing console") flag.BoolVar(&StartMining, "m", false, "start dagger mining") + flag.BoolVar(&StartRpc, "r", false, "start rpc server") flag.BoolVar(&ShowGenesis, "g", false, "prints genesis header and exits") flag.BoolVar(&UseUPnP, "upnp", false, "enable UPnP support") flag.BoolVar(&UseSeed, "seed", true, "seed peers") |