pub type VidDisperse0<TYPES> = ADVZDisperse<TYPES>;Expand description
Type aliases for different versions of VID disperse
Aliased Type§
pub struct VidDisperse0<TYPES> {
pub view_number: <TYPES as NodeType>::View,
pub epoch: Option<<TYPES as NodeType>::Epoch>,
pub target_epoch: Option<<TYPES as NodeType>::Epoch>,
pub payload_commitment: HasherNode<CoreWrapper<CtVariableCoreWrapper<Sha256VarCore, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, OidSha256>>>,
pub shares: BTreeMap<<TYPES as NodeType>::SignatureKey, <ADVZScheme as VidScheme>::Share>,
pub common: Common<Bn<Config>, CoreWrapper<CtVariableCoreWrapper<Sha256VarCore, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, OidSha256>>>,
}Fields§
§view_number: <TYPES as NodeType>::ViewThe view number for which this VID data is intended
epoch: Option<<TYPES as NodeType>::Epoch>Epoch the data of this proposal belongs to
target_epoch: Option<<TYPES as NodeType>::Epoch>Epoch to which the recipients of this VID belong to
payload_commitment: HasherNode<CoreWrapper<CtVariableCoreWrapper<Sha256VarCore, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, OidSha256>>>VidCommitment calculated based on the number of nodes in target_epoch.
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