Crate fil_actor_miner_v8

Source

Structs§

AdvanceDeadlineResult
ApplyRewardParams
BASE_PENALTY_FOR_DISPUTED_WINDOW_POST
Base penalty for a successful disputed window post proof.
BASE_REWARD_FOR_DISPUTED_WINDOW_POST
Base reward for successfully disputing a window posts proofs.
BitFieldQueue
Wrapper for working with an AMT[ChainEpoch]*Bitfield functioning as a queue, bucketed by epoch. Keys in the queue are quantized (upwards), modulo some offset, to reduce the cardinality of keys.
ChangeMultiaddrsParams
ChangePeerIDParams
ChangeWorkerAddressParams
CheckSectorProvenParams
CompactPartitionsParams
CompactSectorNumbersParams
ConfirmSectorProofsParams
CronEventPayload
DEAL_WEIGHT_MULTIPLIER
Quality multiplier for unverified deals in a sector
Deadline
Deadline holds the state for all sectors due at a specific deadline.
DeadlineInfo
Deadline calculations with respect to a current epoch. “Deadline” refers to the window during which proofs may be submitted. Windows are non-overlapping ranges [Open, Close), but the challenge epoch for a window occurs before the window opens.
DeadlineSectorMap
Maps deadlines to partition maps.
Deadlines
Deadlines contains Deadline objects, describing the sectors due at the given deadline and their state (faulty, terminated, recovering, etc.).
DeclareFaultsParams
DeclareFaultsRecoveredParams
DeferredCronEventParams
DisputeInfo
DisputeWindowedPoStParams
ExpirationExtension
ExpirationQueue
A queue of expiration sets by epoch, representing the on-time or early termination epoch for a collection of sectors. Wraps an AMT[ChainEpoch]*ExpirationSet. Keys in the queue are quantized (upwards), modulo some offset, to reduce the cardinality of keys.
ExpirationSet
ExpirationSet is a collection of sector numbers that are expiring, either due to expected “on-time” expiration at the end of their life, or unexpected “early” termination due to being faulty for too long consecutively. Note that there is not a direct correspondence between on-time sectors and active power; a sector may be faulty but expiring on-time if it faults just prior to expected termination. Early sectors are always faulty, and active power always represents on-time sectors.
ExtendSectorExpirationParams
Fault
FaultDeclaration
GetControlAddressesReturn
MinerConstructorParams
Storage miner actor constructor params are defined here so the power actor can send them to the init actor to instantiate miners.
MinerInfo
Static information about miner
Partition
PartitionKey
PartitionSectorMap
Maps partitions to sector bitfields.
PoStPartition
PoStResult
PowerPair
PreCommitSectorBatchParams
ProveCommitAggregateParams
ProveCommitSectorParams
ProveReplicaUpdatesParams
QUALITY_BASE_MULTIPLIER
Quality multiplier for committed capacity (no deals) in a sector
RecoveryDeclaration
ReplicaUpdate
ReportConsensusFaultParams
SectorOnChainInfo
Information stored on-chain for a proven sector.
SectorPreCommitInfo
SectorPreCommitOnChainInfo
Information stored on-chain for a pre-committed sector.
Sectors
State
Balance of Miner Actor should be greater than or equal to the sum of PreCommitDeposits and LockedFunds. It is possible for balance to fall below the sum of PCD, LF and InitialPledgeRequirements, and this is a bad state (IP Debt) that limits a miner actor’s behavior (i.e. no balance withdrawals) Excess balance as computed by st.GetAvailableBalance will be withdrawable or usable for pre-commit deposit or pledge lock-up.
SubmitWindowedPoStParams
Information submitted by a miner to provide a Window PoSt.
TerminateSectorsParams
TerminateSectorsReturn
TerminationDeclaration
TerminationResult
VERIFIED_DEAL_WEIGHT_MULTIPLIER
Quality multiplier for verified deals in a sector
VestSpec
Specification for a linear vesting schedule.
VestingFund
VestingFunds
Represents the vesting table state for the miner. It is a slice of (VestingEpoch, VestingAmount). The slice will always be sorted by the VestingEpoch.
WindowedPoSt
WithdrawBalanceParams
WithdrawBalanceReturn
WorkerKeyChange

Enums§

CollisionPolicy
Method
Storage Miner actor methods available

Constants§

CONSENSUS_FAULT_REPORTER_DEFAULT_SHARE
CONTINUED_FAULT_PROJECTION_PERIOD
CRON_EVENT_PROCESS_EARLY_TERMINATIONS
CRON_EVENT_PROVING_DEADLINE
CRON_EVENT_WORKER_KEY_CHANGE
DEADLINE_EXPIRATIONS_AMT_BITWIDTH
DEADLINE_OPTIMISTIC_POST_SUBMISSIONS_AMT_BITWIDTH
DEADLINE_PARTITIONS_AMT_BITWIDTH
ERR_BALANCE_INVARIANTS_BROKEN
INITIAL_PLEDGE_FACTOR
Projection period of expected sector block rewards for storage pledge required to commit a sector. This pledge is lost if a sector is terminated before its full committed lifetime.
INITIAL_PLEDGE_PROJECTION_PERIOD
MIN_SECTOR_EXPIRATION
minimum number of epochs past the current epoch a sector may be set to expire
PRE_COMMIT_DEPOSIT_PROJECTION_PERIOD
REWARD_VESTING_SPEC
SECTORS_AMT_BITWIDTH
SECTOR_QUALITY_PRECISION
Precision used for making QA power calculations
TERMINATION_LIFETIME_CAP
TERMINATION_REWARD_FACTOR_DENOM
TERMINATION_REWARD_FACTOR_NUM

Functions§

assign_deadlines
can_extend_seal_proof_type
Checks whether a seal proof type is supported for new miners and sectors.
can_pre_commit_seal_proof
List of proof types which can be used when creating new miner actors
deadline_available_for_compaction
deadline_available_for_optimistic_post_dispute
deadline_is_mutable
Returns true if the deadline at the given index is currently mutable.
is_sealed_sector
Prefix for sealed sector CIDs (CommR).
load_partitions_sectors_max
The maximum number of partitions that may be required to be loaded in a single invocation, when all the sector infos for the partitions will be loaded.
max_prove_commit_duration
Maximum duration to allow for the sealing process for seal algorithms. Dependent on algorithm and sector size
new_deadline_info
new_deadline_info_from_offset_and_epoch
power_for_sector
power_for_sectors
Returns the sum of the raw byte and quality-adjusted power for sectors.
qa_power_for_sector
Returns the quality-adjusted power for a sector.
qa_power_for_weight
Returns the power for a sector size and weight.
quality_for_weight
DealWeight and VerifiedDealWeight are spacetime occupied by regular deals and verified deals in a sector. Sum of DealWeight and VerifiedDealWeight should be less than or equal to total SpaceTime of a sector. Sectors full of VerifiedDeals will have a SectorQuality of VerifiedDealWeightMultiplier/QualityBaseMultiplier. Sectors full of Deals will have a SectorQuality of DealWeightMultiplier/QualityBaseMultiplier. Sectors with neither will have a SectorQuality of QualityBaseMultiplier/QualityBaseMultiplier. SectorQuality of a sector is a weighted average of multipliers based on their proportions.
quant_spec_for_deadline
reward_for_consensus_slash_report
reward_for_disputed_window_post
seal_proof_sector_maximum_lifetime
Maximum duration to allow for the sealing process for seal algorithms. Dependent on algorithm and sector size
sector_deals_max
Determine maximum number of deal miner’s sector can hold
select_sectors

Type Aliases§

CronEvent
PreCommitSectorParams