Enum fil_types::sector::RegisteredSealProof [−][src]
pub enum RegisteredSealProof {
StackedDRG2KiBV1,
StackedDRG512MiBV1,
StackedDRG8MiBV1,
StackedDRG32GiBV1,
StackedDRG64GiBV1,
StackedDRG2KiBV1P1,
StackedDRG512MiBV1P1,
StackedDRG8MiBV1P1,
StackedDRG32GiBV1P1,
StackedDRG64GiBV1P1,
Invalid(i64),
}
Expand description
Seal proof type which defines the version and sector size.
Variants
StackedDRG2KiBV1
StackedDRG512MiBV1
StackedDRG8MiBV1
StackedDRG32GiBV1
StackedDRG64GiBV1
StackedDRG2KiBV1P1
StackedDRG512MiBV1P1
StackedDRG8MiBV1P1
StackedDRG32GiBV1P1
StackedDRG64GiBV1P1
Invalid(i64)
Tuple Fields
0: i64
Implementations
Returns registered seal proof for given sector size
Convert the original proof type to the v1 proof added in network version 7.
👎 Deprecated since 0.1.10: Logic should exist in actors
Logic should exist in actors
The maximum duration a sector sealed with this proof may exist between activation and expiration.
Proof size for each SealProof type
Returns the sector size of the proof type, which is measured in bytes.
Returns the partition size, in sectors, associated with a proof type. The partition size is the number of sectors proven in a single PoSt proof.
Produces the winning PoSt-specific RegisteredProof corresponding to the receiving RegisteredProof.
Produces the windowed PoSt-specific RegisteredProof corresponding to the receiving RegisteredProof.
Trait Implementations
Deserialize this value from the given Serde deserializer. Read more
Performs the conversion.
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 RegisteredSealProof
impl Send for RegisteredSealProof
impl Sync for RegisteredSealProof
impl Unpin for RegisteredSealProof
impl UnwindSafe for RegisteredSealProof
Blanket Implementations
Mutably borrows from an owned value. Read more