base

package
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 16, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AppDBName = "application.db"
)

Variables

This section is empty.

Functions

func DecodeAccount added in v0.1.2

func DecodeAccount(key string, bz []byte) exported.Account

func OpenDB

func OpenDB(dir string, backend dbm.BackendType) (db dbm.DB, err error)

Types

type AccountStateRootRetriever added in v0.1.2

type AccountStateRootRetriever struct{}

func (AccountStateRootRetriever) GetAccStateRoot added in v0.1.2

func (a AccountStateRootRetriever) GetAccStateRoot(rootBytes []byte) common.Hash

func (AccountStateRootRetriever) GetStateRootAndCodeHash added in v0.1.2

func (a AccountStateRootRetriever) GetStateRootAndCodeHash(bz []byte) (common.Hash, []byte)

func (AccountStateRootRetriever) ModifyAccStateRoot added in v0.1.2

func (a AccountStateRootRetriever) ModifyAccStateRoot(before []byte, rootHash common.Hash) []byte

func (AccountStateRootRetriever) RetrieveStateRoot added in v0.1.2

func (a AccountStateRootRetriever) RetrieveStateRoot(bz []byte) common.Hash

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳