pub type VidDisperse2<TYPES> = AvidmGf2Disperse<TYPES>;Aliased Type§
pub struct VidDisperse2<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: AvidmGf2Commit,
pub shares: BTreeMap<<TYPES as NodeType>::SignatureKey, NsAvidmGf2Share>,
pub payload_byte_len: usize,
pub common: NsAvidmGf2Common,
}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: AvidmGf2CommitVidCommitment calculated based on the number of nodes in target_epoch.
A storage node’s key and its corresponding VID share
payload_byte_len: usizeLength of payload in bytes
common: NsAvidmGf2CommonVID common data sent to all storage nodes