VidDisperse1

Type Alias VidDisperse1 

Source
pub type VidDisperse1<TYPES> = AvidMDisperse<TYPES>;

Aliased Type§

pub struct VidDisperse1<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: AvidMCommit,
    pub shares: BTreeMap<<TYPES as NodeType>::SignatureKey, NsAvidMShare>,
    pub payload_byte_len: usize,
    pub common: AvidMParam,
}

Fields§

§view_number: <TYPES as NodeType>::View

The 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: AvidMCommit

VidCommitment calculated based on the number of nodes in target_epoch.

§shares: BTreeMap<<TYPES as NodeType>::SignatureKey, NsAvidMShare>

A storage node’s key and its corresponding VID share

§payload_byte_len: usize

Length of payload in bytes

§common: AvidMParam

VID common data sent to all storage nodes