pub fn subtree_plan(
tree: &MerkleTree,
nonce: &[u8; 32],
) -> Result<SubtreePlan, BuildProofError>Expand description
Compute the SubtreePlan for (nonce, tree) — selection geometry only,
no chunk bytes touched.
§Errors
BuildProofError::BadKeyCount for an out-of-protocol tree;
BuildProofError::MissingKey if a selected leaf index is not in the tree
(internal inconsistency).