diff options
author | obscuren <geffobscura@gmail.com> | 2014-12-23 21:33:15 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-12-23 21:33:15 +0800 |
commit | 9e5257b83b8572077b9c26e4ae9a9443f765bf6e (patch) | |
tree | f94a123cb02af8cebecef263290b0378cf3d78ac /cmd/ethereum/flags.go | |
parent | 4cd79d8ddd7608d60344b13fe4bda7315429d1d9 (diff) | |
download | go-tangerine-9e5257b83b8572077b9c26e4ae9a9443f765bf6e.tar.gz go-tangerine-9e5257b83b8572077b9c26e4ae9a9443f765bf6e.tar.zst go-tangerine-9e5257b83b8572077b9c26e4ae9a9443f765bf6e.zip |
Chain importer
Diffstat (limited to 'cmd/ethereum/flags.go')
-rw-r--r-- | cmd/ethereum/flags.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd/ethereum/flags.go b/cmd/ethereum/flags.go index 72f1db458..d27b739c3 100644 --- a/cmd/ethereum/flags.go +++ b/cmd/ethereum/flags.go @@ -58,6 +58,7 @@ var ( DumpHash string DumpNumber int VmType int + ImportChain string ) // flags specific to cli client @@ -104,6 +105,7 @@ func Init() { flag.BoolVar(&DiffTool, "difftool", false, "creates output for diff'ing. Sets LogLevel=0") flag.StringVar(&DiffType, "diff", "all", "sets the level of diff output [vm, all]. Has no effect if difftool=false") flag.BoolVar(&ShowGenesis, "genesis", false, "Dump the genesis block") + flag.StringVar(&ImportChain, "chain", "", "Imports fiven chain") flag.BoolVar(&Dump, "dump", false, "output the ethereum state in JSON format. Sub args [number, hash]") flag.StringVar(&DumpHash, "hash", "", "specify arg in hex") |