Documentation ¶
Index ¶
- func ExtractMinerPartitionsDiff(ctx context.Context, extState extraction.State, dlDiff miner.DeadlinesDiff) (minermodel.MinerSectorEventList, error)
- func ExtractMinerPreCommitEvents(extState extraction.State, preCommits *miner.PreCommitChanges) minermodel.MinerSectorEventList
- func ExtractMinerSectorEvents(extState extraction.State, sectors *miner.SectorChanges) minermodel.MinerSectorEventList
- func ExtractSectorDealsModel(ctx context.Context, ec extraction.State) (minermodel.MinerSectorDealList, error)
- func ExtractSectorEvents(ctx context.Context, extState extraction.State, sc *miner.SectorChanges, ...) (minermodel.MinerSectorEventList, error)
- type DeadlineInfoExtractor
- type FeeDebtExtractor
- type InfoExtractor
- type LockedFundsExtractor
- type MinerStateExtractionContext
- type PoStExtractor
- type PreCommitInfoExtractor
- type SectorDealsExtractor
- type SectorEventsExtractor
- type SectorInfoExtractor
- type V7SectorInfoExtractor
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractMinerPartitionsDiff ¶ added in v0.11.0
func ExtractMinerPartitionsDiff(ctx context.Context, extState extraction.State, dlDiff miner.DeadlinesDiff) (minermodel.MinerSectorEventList, error)
func ExtractMinerPreCommitEvents ¶ added in v0.11.0
func ExtractMinerPreCommitEvents(extState extraction.State, preCommits *miner.PreCommitChanges) minermodel.MinerSectorEventList
func ExtractMinerSectorEvents ¶ added in v0.11.0
func ExtractMinerSectorEvents(extState extraction.State, sectors *miner.SectorChanges) minermodel.MinerSectorEventList
func ExtractSectorDealsModel ¶ added in v0.10.1
func ExtractSectorDealsModel(ctx context.Context, ec extraction.State) (minermodel.MinerSectorDealList, error)
func ExtractSectorEvents ¶ added in v0.11.0
func ExtractSectorEvents(ctx context.Context, extState extraction.State, sc *miner.SectorChanges, pc *miner.PreCommitChanges, dlDiff miner.DeadlinesDiff) (minermodel.MinerSectorEventList, error)
Types ¶
type DeadlineInfoExtractor ¶
type DeadlineInfoExtractor struct{}
func (DeadlineInfoExtractor) Extract ¶
func (DeadlineInfoExtractor) Extract(ctx context.Context, a actorstate.ActorInfo, node actorstate.ActorStateAPI) (model.Persistable, error)
type FeeDebtExtractor ¶
type FeeDebtExtractor struct{}
func (FeeDebtExtractor) Extract ¶
func (FeeDebtExtractor) Extract(ctx context.Context, a actorstate.ActorInfo, node actorstate.ActorStateAPI) (model.Persistable, error)
type InfoExtractor ¶
type InfoExtractor struct{}
func (InfoExtractor) Extract ¶
func (InfoExtractor) Extract(ctx context.Context, a actorstate.ActorInfo, node actorstate.ActorStateAPI) (model.Persistable, error)
type LockedFundsExtractor ¶
type LockedFundsExtractor struct{}
func (LockedFundsExtractor) Extract ¶
func (LockedFundsExtractor) Extract(ctx context.Context, a actorstate.ActorInfo, node actorstate.ActorStateAPI) (model.Persistable, error)
type MinerStateExtractionContext ¶
type MinerStateExtractionContext struct { PrevState miner.State PrevTs *types.TipSet CurrActor *types.Actor CurrState miner.State CurrTs *types.TipSet }
func NewMinerStateExtractionContext ¶
func NewMinerStateExtractionContext(ctx context.Context, a actorstate.ActorInfo, node actorstate.ActorStateAPI) (*MinerStateExtractionContext, error)
func (*MinerStateExtractionContext) HasPreviousState ¶
func (m *MinerStateExtractionContext) HasPreviousState() bool
type PoStExtractor ¶
type PoStExtractor struct{}
func (PoStExtractor) Extract ¶
func (PoStExtractor) Extract(ctx context.Context, a actorstate.ActorInfo, node actorstate.ActorStateAPI) (model.Persistable, error)
type PreCommitInfoExtractor ¶
type PreCommitInfoExtractor struct{}
func (PreCommitInfoExtractor) Extract ¶
func (PreCommitInfoExtractor) Extract(ctx context.Context, a actorstate.ActorInfo, node actorstate.ActorStateAPI) (model.Persistable, error)
type SectorDealsExtractor ¶
type SectorDealsExtractor struct{}
func (SectorDealsExtractor) Extract ¶
func (SectorDealsExtractor) Extract(ctx context.Context, a actorstate.ActorInfo, node actorstate.ActorStateAPI) (model.Persistable, error)
type SectorEventsExtractor ¶
type SectorEventsExtractor struct{}
func (SectorEventsExtractor) Extract ¶
func (SectorEventsExtractor) Extract(ctx context.Context, a actorstate.ActorInfo, node actorstate.ActorStateAPI) (model.Persistable, error)
type SectorInfoExtractor ¶
type SectorInfoExtractor struct{}
func (SectorInfoExtractor) Extract ¶
func (SectorInfoExtractor) Extract(ctx context.Context, a actorstate.ActorInfo, node actorstate.ActorStateAPI) (model.Persistable, error)
type V7SectorInfoExtractor ¶
type V7SectorInfoExtractor struct{}
func (V7SectorInfoExtractor) Extract ¶
func (V7SectorInfoExtractor) Extract(ctx context.Context, a actorstate.ActorInfo, node actorstate.ActorStateAPI) (model.Persistable, error)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.