Function hotshot_testing::helpers::build_vid_proposal
source · pub fn build_vid_proposal<TYPES: NodeType>(
quorum_membership: &<TYPES as NodeType>::Membership,
view_number: TYPES::Time,
transactions: Vec<TestTransaction>,
private_key: &<TYPES::SignatureKey as SignatureKey>::PrivateKey
) -> (Proposal<TYPES, VidDisperse<TYPES>>, Vec<Proposal<TYPES, VidDisperseShare<TYPES>>>)