Documentation ¶
Index ¶
- Constants
- func DecodeAccount(key string, bz []byte) exported.Account
- func OpenDB(dir string, backend dbm.BackendType) (db dbm.DB, err error)
- type AccountStateRootRetriever
- func (a AccountStateRootRetriever) GetAccStateRoot(rootBytes []byte) common.Hash
- func (a AccountStateRootRetriever) GetStateRootAndCodeHash(bz []byte) (common.Hash, []byte)
- func (a AccountStateRootRetriever) ModifyAccStateRoot(before []byte, rootHash common.Hash) []byte
- func (a AccountStateRootRetriever) RetrieveStateRoot(bz []byte) common.Hash
Constants ¶
View Source
const (
AppDBName = "application.db"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AccountStateRootRetriever ¶
type AccountStateRootRetriever struct{}
func (AccountStateRootRetriever) GetAccStateRoot ¶
func (a AccountStateRootRetriever) GetAccStateRoot(rootBytes []byte) common.Hash
func (AccountStateRootRetriever) GetStateRootAndCodeHash ¶
func (a AccountStateRootRetriever) GetStateRootAndCodeHash(bz []byte) (common.Hash, []byte)
func (AccountStateRootRetriever) ModifyAccStateRoot ¶
func (a AccountStateRootRetriever) ModifyAccStateRoot(before []byte, rootHash common.Hash) []byte
func (AccountStateRootRetriever) RetrieveStateRoot ¶
func (a AccountStateRootRetriever) RetrieveStateRoot(bz []byte) common.Hash
Click to show internal directories.
Click to hide internal directories.