Function darkfi_sdk::crypto::smt::util::log2

source ·
pub(super) fn log2(x: &BigUint) -> u64
Expand description

Returns the log2 value of the given number. Used for converting the index to the level.