VidDisperseShare0

Type Alias VidDisperseShare0 

Source
pub type VidDisperseShare0<TYPES> = ADVZDisperseShare<TYPES>;
Expand description

Type aliases for different versions of VID disperse shares

Aliased Type§

pub struct VidDisperseShare0<TYPES> {
    pub view_number: <TYPES as NodeType>::View,
    pub payload_commitment: HasherNode<CoreWrapper<CtVariableCoreWrapper<Sha256VarCore, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, OidSha256>>>,
    pub share: Share<Bn<Config>, CoreWrapper<CtVariableCoreWrapper<Sha256VarCore, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, OidSha256>>>,
    pub common: Common<Bn<Config>, CoreWrapper<CtVariableCoreWrapper<Sha256VarCore, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, OidSha256>>>,
    pub recipient_key: <TYPES as NodeType>::SignatureKey,
}

Fields§

§view_number: <TYPES as NodeType>::View

The view number for which this VID data is intended

§payload_commitment: HasherNode<CoreWrapper<CtVariableCoreWrapper<Sha256VarCore, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, OidSha256>>>

Block payload commitment

§share: Share<Bn<Config>, CoreWrapper<CtVariableCoreWrapper<Sha256VarCore, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, OidSha256>>>

A storage node’s key and its corresponding VID share

§common: Common<Bn<Config>, CoreWrapper<CtVariableCoreWrapper<Sha256VarCore, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, OidSha256>>>

VID common data sent to all storage nodes

§recipient_key: <TYPES as NodeType>::SignatureKey

a public key of the share recipient