Track votes from gossip for optimistic confirmation (#11209)

* Add check in cluster_info_vote_listenere to see if optimstic conf was achieved
Add OptimisticConfirmationVerifier

* More fixes

* Fix merge conflicts

* Remove gossip notificatin

* Add dashboards

* Fix rebase

* Count switch votes as well toward optimistic conf

* rename

Co-authored-by: Carl <carl@solana.com>
This commit is contained in:
carllin
2020-07-28 02:33:27 -07:00
committed by GitHub
parent d9d69eee81
commit a7ea340f22
12 changed files with 1368 additions and 273 deletions

View File

@@ -81,6 +81,7 @@ impl Tpu {
subscriptions.clone(),
verified_vote_sender,
replay_votes_receiver,
blockstore.clone(),
);
let banking_stage = BankingStage::new(