Documentation
¶
Index ¶
- type Code
- type StateDB
- func (stateDB *StateDB) AddBalance(addr string, amount common.Amount)
- func (stateDB *StateDB) AddBalanceWithSequenceID(addr string, amount common.Amount, sequenceID uint64)
- func (stateDB *StateDB) CommitDB(root common.Hash) (err error)
- func (stateDB *StateDB) CommitTrie() (root common.Hash, err error)
- func (stateDB *StateDB) CreateAccount(addr string)
- func (stateDB *StateDB) ExistAccount(addr string) bool
- func (stateDB *StateDB) GetBalance(addr string) common.Amount
- func (stateDB *StateDB) GetCheckPoint(addr string) uint64
- func (stateDB *StateDB) GetCode(addr string) []byte
- func (stateDB *StateDB) GetCodeHash(addr string) common.Hash
- func (stateDB *StateDB) GetOrNewStateObject(addr string) *stateObject
- func (stateDB *StateDB) GetState(a string, b common.Hash) common.Hash
- func (stateDB *StateDB) MarkStateObjectDirty(addr string)
- func (stateDB *StateDB) SetCode(addr string, code []byte)
- func (stateDB *StateDB) SetSequenceID(addr string, sequenceID uint64)
- func (stateDB *StateDB) SetState(addr string, key, value common.Hash)
- func (stateDB *StateDB) SubBalance(addr string, amount common.Amount)
- func (stateDB *StateDB) SubBalanceWithSequenceID(addr string, amount common.Amount, sequenceID uint64)
- type Storage
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StateDB ¶
type StateDB struct {
// contains filtered or unexported fields
}
func (*StateDB) AddBalanceWithSequenceID ¶
func (*StateDB) CreateAccount ¶
func (*StateDB) ExistAccount ¶
func (*StateDB) GetCheckPoint ¶
func (*StateDB) GetOrNewStateObject ¶
func (*StateDB) MarkStateObjectDirty ¶
func (*StateDB) SetSequenceID ¶
Click to show internal directories.
Click to hide internal directories.