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

@ -19,6 +19,16 @@ type ResponseListAccounts struct {
Accounts []*account.Account
}
type StorageItem struct {
Key []byte
Value []byte
}
type ResponseDumpStorage struct {
StorageRoot []byte
StorageItems []StorageItem
}
type ResponseBlockchainInfo struct {
LastHeight uint
BlockMetas []*types.BlockMeta