Struct forest_actor::miner::SectorOnChainInfo
source · [−]pub struct SectorOnChainInfo {Show 13 fields
pub sector_number: SectorNumber,
pub seal_proof: RegisteredSealProof,
pub sealed_cid: Cid,
pub deal_ids: Vec<DealID>,
pub activation: ChainEpoch,
pub expiration: ChainEpoch,
pub deal_weight: DealWeight,
pub verified_deal_weight: DealWeight,
pub initial_pledge: TokenAmount,
pub expected_day_reward: TokenAmount,
pub expected_storage_pledge: TokenAmount,
pub replaced_sector_age: ChainEpoch,
pub replaced_day_reward: TokenAmount,
}
Expand description
Information stored on-chain for a proven sector.
Fields
sector_number: SectorNumber
seal_proof: RegisteredSealProof
The seal proof type implies the PoSt proofs
sealed_cid: Cid
CommR
deal_ids: Vec<DealID>
activation: ChainEpoch
Epoch during which the sector proof was accepted
expiration: ChainEpoch
Epoch during which the sector expires
deal_weight: DealWeight
Integral of active deals over sector lifetime
verified_deal_weight: DealWeight
Integral of active verified deals over sector lifetime
initial_pledge: TokenAmount
Pledge collected to commit this sector
expected_day_reward: TokenAmount
Expected one day projection of reward for sector computed at activation time
expected_storage_pledge: TokenAmount
Expected twenty day projection of reward for sector computed at activation time
replaced_sector_age: ChainEpoch
Age of sector this sector replaced or zero
replaced_day_reward: TokenAmount
Day reward of sector this sector replace or zero
Trait Implementations
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for SectorOnChainInfo
impl Send for SectorOnChainInfo
impl Sync for SectorOnChainInfo
impl Unpin for SectorOnChainInfo
impl UnwindSafe for SectorOnChainInfo
Blanket Implementations
Mutably borrows from an owned value. Read more