diff options
author | obscuren <geffobscura@gmail.com> | 2014-01-09 06:42:35 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-01-09 06:42:35 +0800 |
commit | 83bb4a3f265ec9a4fa75388dd6fa212a79a9b218 (patch) | |
tree | e4a52fa6e296d184f6d0c3bb17a533426dcb129a | |
parent | 4bc9b1fcb3591f60d6c3d3c03c710e210918917d (diff) | |
download | dexon-83bb4a3f265ec9a4fa75388dd6fa212a79a9b218.tar.gz dexon-83bb4a3f265ec9a4fa75388dd6fa212a79a9b218.tar.zst dexon-83bb4a3f265ec9a4fa75388dd6fa212a79a9b218.zip |
added few commands
-rw-r--r-- | db_query_interface.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/db_query_interface.go b/db_query_interface.go index 11137e4c2..007f4bf28 100644 --- a/db_query_interface.go +++ b/db_query_interface.go @@ -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": |