pub fn arb_blocks_to_commit_impl(
    num_accounts: usize,
    max_txn_per_block: usize,
    max_blocks: usize
) -> impl Strategy<Value = Vec<(Vec<TransactionToCommit>, LedgerInfoWithSignatures)>>
Expand description

This returns a proptest Strategy that yields an arbitrary number of arbitrary batches of transactions to commit.

It is used in tests for both transaction block committing during normal running and transaction syncing during start up.