Documentation ¶
Index ¶
- type MockActorStateAPI
- func (m *MockActorStateAPI) Actor(ctx context.Context, addr address.Address, tsk types.TipSetKey) (*types.Actor, error)
- func (m *MockActorStateAPI) ActorState(ctx context.Context, addr address.Address, ts *types.TipSet) (*api.ActorState, error)
- func (m *MockActorStateAPI) DiffPreCommits(ctx context.Context, addr address.Address, ts, pts *types.TipSet, ...) (*miner.PreCommitChanges, error)
- func (m *MockActorStateAPI) DiffSectors(ctx context.Context, addr address.Address, ts, pts *types.TipSet, ...) (*miner.SectorChanges, error)
- func (m *MockActorStateAPI) ExecutedAndBlockMessages(ctx context.Context, ts, pts *types.TipSet) (*lens.TipSetMessages, error)
- func (m *MockActorStateAPI) MinerLoad(store adt.Store, act *types.Actor) (miner.State, error)
- func (m *MockActorStateAPI) MinerPower(ctx context.Context, addr address.Address, ts *types.TipSet) (*api.MinerPower, error)
- func (m *MockActorStateAPI) Store() adt.Store
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockActorStateAPI ¶
func (*MockActorStateAPI) ActorState ¶
func (m *MockActorStateAPI) ActorState(ctx context.Context, addr address.Address, ts *types.TipSet) (*api.ActorState, error)
func (*MockActorStateAPI) DiffPreCommits ¶
func (m *MockActorStateAPI) DiffPreCommits(ctx context.Context, addr address.Address, ts, pts *types.TipSet, pre, cur miner.State) (*miner.PreCommitChanges, error)
func (*MockActorStateAPI) DiffSectors ¶
func (m *MockActorStateAPI) DiffSectors(ctx context.Context, addr address.Address, ts, pts *types.TipSet, pre, cur miner.State) (*miner.SectorChanges, error)
func (*MockActorStateAPI) ExecutedAndBlockMessages ¶
func (m *MockActorStateAPI) ExecutedAndBlockMessages(ctx context.Context, ts, pts *types.TipSet) (*lens.TipSetMessages, error)
func (*MockActorStateAPI) MinerPower ¶
func (m *MockActorStateAPI) MinerPower(ctx context.Context, addr address.Address, ts *types.TipSet) (*api.MinerPower, error)
func (*MockActorStateAPI) Store ¶
func (m *MockActorStateAPI) Store() adt.Store
Click to show internal directories.
Click to hide internal directories.