referrerpolicy=no-referrer-when-downgrade

Function sp_transaction_storage_proof::random_chunk

source ·
pub fn random_chunk(random_hash: &[u8], total_chunks: u32) -> u32
Expand description

A utility function to extract a chunk index from the source of randomness.