Function darkfi_sdk::crypto::smt::util::leaf_pos_to_index
source ยท pub(super) fn leaf_pos_to_index<const N: usize, F: FieldElement>(
pos: &F,
) -> BigUint
Expand description
Converts a leaf position to the internal BigUint index for storage.