Versions in this module Expand all Collapse all v5 v5.0.6 Sep 27, 2021 Changes in this version + const ConsensusMinerMinMiners + const CronQueueAmtBitwidth + const CronQueueHamtBitwidth + const ErrTooManyProveCommits + const GasOnSubmitVerifySeal + const MaxMinerProveCommitsPerEpoch + const ProofValidationBatchAmtBitwidth + var InitialQAPowerEstimatePosition = big.Mul(big.NewInt(750_000), big.NewInt(1 << 30)) + var InitialQAPowerEstimateVelocity = big.Mul(big.NewInt(3_840), big.NewInt(1 << 30)) + func CurrentTotalPower(st *State) (abi.StoragePower, abi.StoragePower) + type Actor struct + func (a Actor) Code() cid.Cid + func (a Actor) Constructor(rt Runtime, _ *abi.EmptyValue) *abi.EmptyValue + func (a Actor) CreateMiner(rt Runtime, params *CreateMinerParams) *CreateMinerReturn + func (a Actor) CurrentTotalPower(rt Runtime, _ *abi.EmptyValue) *CurrentTotalPowerReturn + func (a Actor) EnrollCronEvent(rt Runtime, params *EnrollCronEventParams) *abi.EmptyValue + func (a Actor) Exports() []interface{} + func (a Actor) IsSingleton() bool + func (a Actor) OnEpochTickEnd(rt Runtime, _ *abi.EmptyValue) *abi.EmptyValue + func (a Actor) State() cbor.Er + func (a Actor) SubmitPoRepForBulkVerify(rt Runtime, sealInfo *proof.SealVerifyInfo) *abi.EmptyValue + func (a Actor) UpdateClaimedPower(rt Runtime, params *UpdateClaimedPowerParams) *abi.EmptyValue + func (a Actor) UpdatePledgeTotal(rt Runtime, pledgeDelta *abi.TokenAmount) *abi.EmptyValue + type Claim struct + QualityAdjPower abi.StoragePower + RawBytePower abi.StoragePower + WindowPoStProofType abi.RegisteredPoStProof + func (t *Claim) MarshalCBOR(w io.Writer) error + func (t *Claim) UnmarshalCBOR(r io.Reader) error + type ClaimsByAddress map[address.Address]Claim + func CheckClaimInvariants(st *State, store adt.Store, acc *builtin.MessageAccumulator) ClaimsByAddress + type CreateMinerParams struct + Multiaddrs []abi.Multiaddrs + Owner addr.Address + Peer abi.PeerID + WindowPoStProofType abi.RegisteredPoStProof + Worker addr.Address + func (t *CreateMinerParams) MarshalCBOR(w io.Writer) error + func (t *CreateMinerParams) UnmarshalCBOR(r io.Reader) error + type CreateMinerReturn = power0.CreateMinerReturn + type CronEvent struct + CallbackPayload []byte + MinerAddr addr.Address + func (t *CronEvent) MarshalCBOR(w io.Writer) error + func (t *CronEvent) UnmarshalCBOR(r io.Reader) error + type CronEventsByAddress map[address.Address][]MinerCronEvent + func CheckCronInvariants(st *State, store adt.Store, acc *builtin.MessageAccumulator) CronEventsByAddress + type CurrentTotalPowerReturn struct + PledgeCollateral abi.TokenAmount + QualityAdjPower abi.StoragePower + QualityAdjPowerSmoothed smoothing.FilterEstimate + RawBytePower abi.StoragePower + func (t *CurrentTotalPowerReturn) MarshalCBOR(w io.Writer) error + func (t *CurrentTotalPowerReturn) UnmarshalCBOR(r io.Reader) error + type EnrollCronEventParams = power0.EnrollCronEventParams + type MinerConstructorParams struct + ControlAddrs []addr.Address + Multiaddrs []abi.Multiaddrs + OwnerAddr addr.Address + PeerId abi.PeerID + WindowPoStProofType abi.RegisteredPoStProof + WorkerAddr addr.Address + func (t *MinerConstructorParams) MarshalCBOR(w io.Writer) error + func (t *MinerConstructorParams) UnmarshalCBOR(r io.Reader) error + type MinerCronEvent struct + Epoch abi.ChainEpoch + Payload []byte + type ProofsByAddress map[address.Address][]proof.SealVerifyInfo + func CheckProofValidationInvariants(st *State, store adt.Store, claims ClaimsByAddress, ...) ProofsByAddress + type Runtime = runtime.Runtime + type SectorTermination int64 + type State struct + Claims cid.Cid + CronEventQueue cid.Cid + FirstCronEpoch abi.ChainEpoch + MinerAboveMinPowerCount int64 + MinerCount int64 + ProofValidationBatch *cid.Cid + ThisEpochPledgeCollateral abi.TokenAmount + ThisEpochQAPowerSmoothed smoothing.FilterEstimate + ThisEpochQualityAdjPower abi.StoragePower + ThisEpochRawBytePower abi.StoragePower + TotalBytesCommitted abi.StoragePower + TotalPledgeCollateral abi.TokenAmount + TotalQABytesCommitted abi.StoragePower + TotalQualityAdjPower abi.StoragePower + TotalRawBytePower abi.StoragePower + func ConstructState(store adt.Store) (*State, error) + func (st *State) AddToClaim(s adt.Store, miner addr.Address, power abi.StoragePower, ...) error + func (st *State) GetClaim(s adt.Store, a addr.Address) (*Claim, bool, error) + func (st *State) MinerNominalPowerMeetsConsensusMinimum(s adt.Store, miner addr.Address) (bool, error) + func (t *State) MarshalCBOR(w io.Writer) error + func (t *State) UnmarshalCBOR(r io.Reader) error + type StateSummary struct + Claims ClaimsByAddress + Crons CronEventsByAddress + Proofs ProofsByAddress + func CheckStateInvariants(st *State, store adt.Store) (*StateSummary, *builtin.MessageAccumulator) + type UpdateClaimedPowerParams = power0.UpdateClaimedPowerParams