added few commands

This commit is contained in:
obscuren 2014-01-08 23:42:35 +01:00
parent 4bc9b1fcb3
commit 83bb4a3f26

View File

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