Skip to main content

compute_block_prefix_hash

Function compute_block_prefix_hash 

Source
pub fn compute_block_prefix_hash(
    parent_hash: Option<u64>,
    tokens: &[TokenId],
) -> u64
Expand description

Computes an incremental hash over a slice of tokens given an optional parent block hash.