[][src]Struct storage_proofs::vdf_post::PublicParams

pub struct PublicParams<T: Domain, V: Vdf<T>> {
    pub challenge_count: usize,
    pub sector_size: usize,
    pub post_epochs: usize,
    pub pub_params_vdf: V::PublicParams,
    pub leaves: usize,
    pub sectors_count: usize,
    pub challenge_bits: usize,
    pub seed_bits: usize,
}

Fields

challenge_count: usize

The number of challenges to be asked at each iteration.

sector_size: usize

Size of a sealed sector in bytes.

post_epochs: usize

Number of times we repeat an online Proof-of-Replication in one single PoSt.

pub_params_vdf: V::PublicParamsleaves: usize

The number of leaves in one sector.

sectors_count: usize

The number of sectors that are proven over.

challenge_bits: usize

The number of bits per challenge (the length of a merkle path)

seed_bits: usize

Trait Implementations

impl<T: Domain, V: Vdf<T>> ParameterSetMetadata for PublicParams<T, V>[src]

impl<T: Clone + Domain, V: Clone + Vdf<T>> Clone for PublicParams<T, V> where
    V::PublicParams: Clone
[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl<T: Debug + Domain, V: Debug + Vdf<T>> Debug for PublicParams<T, V> where
    V::PublicParams: Debug
[src]

Auto Trait Implementations

impl<T, V> Unpin for PublicParams<T, V> where
    <V as Vdf<T>>::PublicParams: Unpin

impl<T, V> Send for PublicParams<T, V> where
    <V as Vdf<T>>::PublicParams: Send

impl<T, V> Sync for PublicParams<T, V> where
    <V as Vdf<T>>::PublicParams: Sync

impl<T, V> UnwindSafe for PublicParams<T, V> where
    <V as Vdf<T>>::PublicParams: UnwindSafe

impl<T, V> RefUnwindSafe for PublicParams<T, V> where
    <V as Vdf<T>>::PublicParams: RefUnwindSafe

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> SendSyncUnwindSafe for T where
    T: Send + Sync + UnwindSafe + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,