in librabft-v2/src/record_store.rs [557:574]
fn committed_states_after(&self, after_round: Round) -> Vec<(Round, Context::State)> {
let cc_hash = self
.highest_commit_certificate_hash
.unwrap_or(self.initial_hash);
let mut iter = BackwardQuorumCertificateIterator::new(self, cc_hash);
iter.next();
iter.next();
let mut commits = Vec::new();
for qc in iter {
if qc.value.round <= after_round {
break;
}
info!("Delivering committed state for round {:?}", qc.value.round);
commits.push((qc.value.round, qc.value.state.clone()));
}
commits.reverse();
commits
}