added few commands
This commit is contained in:
1 parent
4bc9b1fcb3
commit
83bb4a3f26
1 file changed
+2
@@ -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":
|
||||
|
||||
Reference in new issue
Block a user