added few commands

poc8
obscuren 11 years ago
parent 4bc9b1fcb3
commit 83bb4a3f26
  1. 2
      db_query_interface.go

@ -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…
Cancel
Save