# Functions
No description provided by the author
No description provided by the author
No description provided by the author
Checks the early termination queue for consistency.
Checks the expiration queue for consistency.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Checks internal invariants of init state.
No description provided by the author
No description provided by the author
ConstructVestingFunds constructs empty VestingFunds state.
The projected block reward a sector would earn over some period.
BR but zero values are clamped at 1 attofil Some uses of BR (PCD, IP) require a strictly positive value for BR derived values so accounting variables can be used as succinct indicators of miner activity.
FindSector returns the deadline and partition index for a sector number.
Computes the pledge requirement for committing new quality-adjusted power to the network, given the current network total and baseline power, per-epoch reward, and circulating token supply.
Loads a queue root.
No description provided by the author
Returns deadline-related calculations for a deadline in some proving period and the current epoch.
No description provided by the author
No description provided by the author
Computes the PreCommit deposit given sector qa weight and current network conditions.
The quality-adjusted power for a sector.
The power for a sector size, committed duration, and weight.
Returns maximum achievable QA power.
DealWeight and VerifiedDealWeight are spacetime occupied by regular deals and verified deals in a sector.
No description provided by the author
No description provided by the author
# Constants
The maximum number of partitions that can be loaded in a single invocation.
PARAM_SPEC.
PARAM_SPEC.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Given that 4 partitions can be proven in one post, this AMT's height will only exceed the partition AMT's height at ~0.75EiB of storage.
Usually a small array.
Maximum number of unique "declarations" in batch operations.
PARAM_SPEC.
No description provided by the author
No description provided by the author
MaxPartitionsPerDeadline is the maximum number of partitions that will be assigned to a deadline.
PARAM_SPEC.
No description provided by the author
PARAM_SPEC.
No description provided by the author
Bitwidth of AMTs determined empirically from mutation patterns and projections of mainnet data.
The maximum number of partitions that can be proven in a single PoSt message.
Bitwidth of AMTs determined empirically from mutation patterns and projections of mainnet data.
The maximum number of sector pre-commitments in a single batch.
The maximum number of sector replica updates in a single batch.
No description provided by the author
QA power mechanism introduced in FIP-0045.
PARAM_SPEC.
PARAM_SPEC.
PARAM_SPEC.
# Variables
PARAM_SPEC.
No description provided by the author
PARAM_SPEC.
PARAM_SPEC.
PARAM_SPEC.
PARAM_SPEC.
Multiplier of share of circulating money supply for consensus pledge required to commit a sector.
Cap on initial pledge requirement for sectors.
No description provided by the author
PARAM_SPEC.
Maximum delay to allow between sector pre-commit and subsequent proof.
PARAM_SPEC.
No description provided by the author
PARAM_SPEC.
PARAM_SPEC.
No description provided by the author
Prefix for sealed sector CIDs (CommR).
List of proof types which may be used when creating a new miner actor.
30 minutes (48 per day) PARAM_SPEC.
PARAM_SPEC.
24 hours PARAM_SPEC.
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
DataActivationNotification represents a notification for data activation.
Deadline holds the state for all sectors due at a specific deadline.
Deadlines contains Deadline objects, describing the sectors due at the given deadline and their state (faulty, terminated, recovering, etc.).
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
A queue of expiration sets by epoch, representing the on-time or early termination epoch for a collection of sectors.
No description provided by the author
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.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Identifier for a single partition within a miner.
No description provided by the author
No description provided by the author
PieceActivationManifest represents the manifest for activating a piece.
PieceChange describes a piece of data committed to a sector.
No description provided by the author
Value type for a pair of raw and QA power.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ProveCommitSectors3Params represents the parameters for proving committed sectors.
ProveCommitSectorsNIParams is the parameters for non-interactive prove committing of sectors via the miner actor method ProveCommitSectorsNI.
ProveReplicaUpdates3Params represents the parameters for proving replica updates.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
SectorActivationManifest contains data to activate a commitment to one sector and its data.
SectorChanges describes changes to one sector's content.
No description provided by the author
SectorNIActivationInfo is the information needed to activate a sector with a "zero" replica.
Information stored on-chain for a proven sector.
Information provided by a miner when pre-committing a sector.
Information stored on-chain for a pre-committed sector.
Sectors is a helper type for accessing/modifying a miner's sectors.
SectorUpdateManifest contains data for sector update.
Balance of Miner Actor should be greater than or equal to the sum of PreCommitDeposits and LockedFunds.
No description provided by the author
Information submitted by a miner to provide a Window PoSt.
No description provided by the author
No description provided by the author
No description provided by the author
VerifiedAllocationKey represents the key for a verified allocation.
VestingFund represents miner funds that will vest at the given epoch.
VestingFunds represents the vesting table state for the miner.
Specification for a linear vesting schedule.
No description provided by the author
No description provided by the author
No description provided by the author
# Type aliases
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
PieceReturn represents a result for each piece for the sector that was notified.
ProveCommitSectors3Return represents the return value for the ProveCommit2 function.
No description provided by the author
ProveReplicaUpdates3Return represents the return value for the ProveReplicaUpdates3 function.
SectorContentChangedParams represents a notification of change committed to sectors.
SectorContentChangedReturn represents the return value for the SectorContentChanged function.
No description provided by the author
SectorReturn represents a result for each sector that was notified.