pub fn process_entries_for_tests(
bank: &BankWithScheduler,
entries: Vec<Entry>,
transaction_status_sender: Option<&TransactionStatusSender>,
replay_vote_sender: Option<&ReplayVoteSender>
) -> Result<()>
Expand description
Process an ordered list of entries in parallel
- In order lock accounts for each entry while the lock succeeds, up to a Tick entry
- Process the locked group in parallel
- Register the
Tick
if it’s available - Update the leader scheduler, goto 1
This method is for use testing against a single Bank, and assumes Bank::transaction_count()
represents the number of transactions executed in this Bank