Actively manage dead slots in AncestorHashesService (#18912)

This commit is contained in:
carllin
2021-08-02 14:33:28 -07:00
committed by GitHub
parent c16bf02448
commit 03353d500f
10 changed files with 1171 additions and 104 deletions

View File

@@ -59,7 +59,7 @@ fn bench_generate_ancestors_descendants(bench: &mut Bencher) {
let num_banks = 500;
let forks = tr(0);
let mut vote_simulator = VoteSimulator::new(2);
vote_simulator.fill_bank_forks(forks, &HashMap::new());
vote_simulator.fill_bank_forks(forks, &HashMap::new(), true);
vote_simulator.create_and_vote_new_branch(
0,
num_banks,