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.
pub fn random_chunk(random_hash: &[u8], total_chunks: u32) -> u32
A utility function to extract a chunk index from the source of randomness.