Store and persists full stack of tower votes in gossip (#6695)

* vote array

wip

wip

wip

update

gossip index should match tower index

tests build

clippy

test index after expired vote

test

bank specific last vote sync time

* verify

* we are likely to see many more warnings about old votes now
This commit is contained in:
anatoly yakovenko
2019-11-04 16:19:54 -08:00
committed by GitHub
parent 57983980a7
commit f54cfcdb8f
7 changed files with 201 additions and 44 deletions

View File

@ -195,7 +195,7 @@ impl VoteState {
j -= 1;
}
if j == slot_hashes.len() {
warn!(
debug!(
"{} dropped vote {:?} too old: {:?} ",
self.node_pubkey, vote, slot_hashes
);