forked from solana-labs/solana
-
Notifications
You must be signed in to change notification settings - Fork 344
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
reworks gossip run_listen and process_packets (#4971)
The commit bypasses extend below https://github.com/anza-xyz/agave/blob/0844bbca7/gossip/src/cluster_info.rs#L2188 by working with VecDeque<Vec<...>> type instead. Filtering on shred-version is also done in-place, instead of collecting a new vector: https://github.com/anza-xyz/agave/blob/0844bbca7/gossip/src/cluster_info.rs#L1955-L1968 The filtering logic is also updated to ignore deprecated NodeInstance and LegacyContactInfo types: https://github.com/anza-xyz/agave/blob/0844bbca7/gossip/src/cluster_info.rs#L2879-L2900
- Loading branch information
1 parent
a1ed2b1
commit 52cf690
Showing
1 changed file
with
85 additions
and
94 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters