[][src]Struct storage_proofs::vdf_post::SetupParams

pub struct SetupParams<T: Domain, V: Vdf<T>> {
    pub challenge_count: usize,
    pub sector_size: usize,
    pub post_epochs: usize,
    pub setup_params_vdf: V::SetupParams,
    pub sectors_count: 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.

setup_params_vdf: V::SetupParamssectors_count: usize

The number of sectors that are proven over.

Trait Implementations

impl<T: Clone + Domain, V: Clone + Vdf<T>> Clone for SetupParams<T, V> where
    V::SetupParams: 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 SetupParams<T, V> where
    V::SetupParams: Debug
[src]

Auto Trait Implementations

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

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

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

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

impl<T, V> RefUnwindSafe for SetupParams<T, V> where
    <V as Vdf<T>>::SetupParams: 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>,