pub fn complete_num_accounts_tree_with_empties(
contents_hash: &LedgerHash,
num_accounts: u64,
) -> Result<LedgerHash, InvalidBigInt>
Expand description
Given the hash of the subtree containing num_accounts
accounts
compute the hash of a tree of size LEDGER_DEPTH
if all other nodes were
empty.
NOTE: For out of range sizes, en empty tree hash is returned.