Documentation ¶
Index ¶
- type AdtStore
- type StateTree
- func (st *StateTree) ClearSnapshot()
- func (st *StateTree) DeleteActor(addr address.Address) error
- func (st *StateTree) Flush(ctx context.Context) (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) (address.Address, error)
- func (st *StateTree) Revert() error
- func (st *StateTree) SetActor(addr address.Address, act *types.Actor) error
- func (st *StateTree) Snapshot(ctx context.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StateTree ¶
StateTree stores actors state by their ID.
func (*StateTree) ClearSnapshot ¶ added in v0.3.0
func (st *StateTree) ClearSnapshot()
func (*StateTree) DeleteActor ¶ added in v0.3.0
func (*StateTree) LookupID ¶
LookupID gets the ID address of this actor's `addr` stored in the `InitActor`.
func (*StateTree) MutateActor ¶
func (*StateTree) RegisterNewAddress ¶
Click to show internal directories.
Click to hide internal directories.