miner

package
v0.11.0-rc2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 5, 2022 License: Apache-2.0, MIT Imports: 19 Imported by: 0

Documentation

Index

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

Types

type DeadlineInfoExtractor

type DeadlineInfoExtractor struct{}

func (DeadlineInfoExtractor) Extract

type FeeDebtExtractor

type FeeDebtExtractor struct{}

func (FeeDebtExtractor) Extract

type InfoExtractor

type InfoExtractor struct{}

func (InfoExtractor) Extract

type LockedFundsExtractor

type LockedFundsExtractor struct{}

func (LockedFundsExtractor) Extract

type MinerStateExtractionContext

type MinerStateExtractionContext struct {
	PrevState miner.State
	PrevTs    *types.TipSet

	CurrActor            *types.Actor
	CurrState            miner.State
	CurrTs               *types.TipSet
	PreviousStatePresent bool
}

func (*MinerStateExtractionContext) HasPreviousState

func (m *MinerStateExtractionContext) HasPreviousState() bool

type PoStExtractor

type PoStExtractor struct{}

func (PoStExtractor) Extract

type PreCommitInfoExtractor

type PreCommitInfoExtractor struct{}

func (PreCommitInfoExtractor) Extract

type SectorDealsExtractor

type SectorDealsExtractor struct{}

func (SectorDealsExtractor) Extract

type SectorEventsExtractor

type SectorEventsExtractor struct{}

func (SectorEventsExtractor) Extract

type SectorInfoExtractor

type SectorInfoExtractor struct{}

func (SectorInfoExtractor) Extract

type V7SectorInfoExtractor

type V7SectorInfoExtractor struct{}

func (V7SectorInfoExtractor) Extract

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL