pub fn balances_root<'a>(
accounts: impl Iterator<Item = &'a Account>,
) -> Result<[u8; 32], LedgerError>Expand description
Root over accounts sorted by id: blake3(concat(blake3(id || cbor(account)))).
A deterministic commitment (not a sparse-Merkle proof system — sufficient for
the drift/equivalence properties; a full accumulator can replace it later
without changing the trait).