Documentation ¶
Index ¶
- type StateTree
- func (st *StateTree) Flush() (cid.Cid, error)
- func (st *StateTree) GetActor(addr address.Address) (*types.Actor, error)
- func (st *StateTree) LookupID(addr address.Address) (address.Address, error)
- func (st *StateTree) MutateActor(addr address.Address, f func(*types.Actor) error) error
- func (st *StateTree) RegisterNewAddress(addr address.Address, act *types.Actor) (address.Address, error)
- func (st *StateTree) Revert() error
- func (st *StateTree) SetActor(addr address.Address, act *types.Actor) error
- func (st *StateTree) Snapshot() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StateTree ¶
type StateTree struct { Store *hamt.CborIpldStore // contains filtered or unexported fields }
func LoadStateTree ¶
func LoadStateTree(cst *hamt.CborIpldStore, c cid.Cid) (*StateTree, error)
func NewStateTree ¶
func NewStateTree(cst *hamt.CborIpldStore) (*StateTree, error)
func (*StateTree) MutateActor ¶
func (*StateTree) RegisterNewAddress ¶
Click to show internal directories.
Click to hide internal directories.