* checks for authorized voter early on in the vote-listener pipeline (#22169)
Before votes are verified that they are signed by the authorized voter,
they might be dropped in verified-vote-packets code. If there are
enough many spam votes from unauthorized voters, this may potentially
drop valid votes but keep the false ones.
https://github.com/solana-labs/solana/blob/57986f982/core/src/verified_vote_packets.rs#L165-L168
(cherry picked from commit c0c6038654)
# Conflicts:
# core/src/cluster_info_vote_listener.rs
* removes backport merge conflicts
Co-authored-by: behzad nouri <behzadnouri@gmail.com>
This commit is contained in:
@@ -109,10 +109,10 @@ impl Tpu {
|
||||
let (verified_gossip_vote_packets_sender, verified_gossip_vote_packets_receiver) =
|
||||
unbounded();
|
||||
let cluster_info_vote_listener = ClusterInfoVoteListener::new(
|
||||
exit,
|
||||
exit.clone(),
|
||||
cluster_info.clone(),
|
||||
verified_gossip_vote_packets_sender,
|
||||
poh_recorder,
|
||||
poh_recorder.clone(),
|
||||
vote_tracker,
|
||||
bank_forks.clone(),
|
||||
subscriptions.clone(),
|
||||
|
||||
Reference in New Issue
Block a user