Function calculate_taproot_leaf_depths
pub fn calculate_taproot_leaf_depths(num_scripts: usize) -> Vec<u8> ⓘExpand description
Calculates the depth of each leaf in a balanced Taproot tree structure. The returned Vec contains the depth for each script at the corresponding index.