Function hotshot_types::traits::block_contents::vid_commitment

source ·
pub fn vid_commitment(
    encoded_transactions: &[u8],
    num_storage_nodes: usize,
) -> <VidSchemeType as VidScheme>::Commit
Expand description

Compute the VID payload commitment. TODO(Gus) delete this function?

§Panics

If the VID computation fails.