VidDisperse2

Type Alias VidDisperse2 

Source
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>::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: AvidmGf2Commit

VidCommitment calculated based on the number of nodes in target_epoch.

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

A storage node’s key and its corresponding VID share

§payload_byte_len: usize

Length of payload in bytes

§common: NsAvidmGf2Common

VID common data sent to all storage nodes