Commit 83bb4a3f authored by obscuren's avatar obscuren

added few commands

parent 4bc9b1fc
......@@ -72,6 +72,8 @@ func (i *DbInterface) ParseInput(input string) bool {
fmt.Println(hex.EncodeToString([]byte(i.trie.root)))
case "rawroot":
fmt.Println(i.trie.root)
case "print":
i.db.Print()
case "exit", "quit", "q":
return false
case "help":
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment