forked from cerc-io/plugeth
added few commands
This commit is contained in:
parent
4bc9b1fcb3
commit
83bb4a3f26
@ -72,6 +72,8 @@ func (i *DbInterface) ParseInput(input string) bool {
|
|||||||
fmt.Println(hex.EncodeToString([]byte(i.trie.root)))
|
fmt.Println(hex.EncodeToString([]byte(i.trie.root)))
|
||||||
case "rawroot":
|
case "rawroot":
|
||||||
fmt.Println(i.trie.root)
|
fmt.Println(i.trie.root)
|
||||||
|
case "print":
|
||||||
|
i.db.Print()
|
||||||
case "exit", "quit", "q":
|
case "exit", "quit", "q":
|
||||||
return false
|
return false
|
||||||
case "help":
|
case "help":
|
||||||
|
Loading…
Reference in New Issue
Block a user