added DumpStorage RPC command

This commit is contained in:
Jae Kwon
2015-03-31 14:08:21 -07:00
committed by Ethan Buchman
parent d2d1214e20
commit 6f0199aadf
3 changed files with 31 additions and 8 deletions

View File

@ -23,6 +23,7 @@ var funcMap = map[string]*FuncWrapper{
"get_block": funcWrap(core.GetBlock, []string{"height"}),
"get_account": funcWrap(core.GetAccount, []string{"address"}),
"list_validators": funcWrap(core.ListValidators, []string{}),
"dump_storage": funcWrap(core.DumpStorage, []string{"address"}),
"broadcast_tx": funcWrap(core.BroadcastTx, []string{"tx"}),
"list_accounts": funcWrap(core.ListAccounts, []string{}),
"unsafe/gen_priv_account": funcWrap(core.GenPrivAccount, []string{}),