pub fn build_account_index_v2(
first: u32,
counts: &[u32],
postings: &BTreeMap<AccountId, Vec<Posting>>,
) -> Result<Vec<u8>, String>Expand description
Builds a version 2 account history index with Rice-coded lists. counts is
the transaction count of each ledger in the partition, in order.