added few commands

This commit is contained in:
obscuren 2014-01-08 23:42:35 +01:00
parent 4bc9b1fcb3
commit 83bb4a3f26
1 changed files with 2 additions and 0 deletions

View File

@ -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":