forked from solana-labs/solana
-
Notifications
You must be signed in to change notification settings - Fork 331
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
reworks gossip pipeline by applying stake-filter earlier
Filtering gossip packets based on stake is done very late in the pipeline both for incoming and outgoing packets: https://github.com/anza-xyz/agave/blob/4d0fc227d/gossip/src/cluster_info.rs#L1321 https://github.com/anza-xyz/agave/blob/4d0fc227d/gossip/src/cluster_info.rs#L1801 https://github.com/anza-xyz/agave/blob/4d0fc227d/gossip/src/cluster_info.rs#L2222-L2229 In order to avoid wasting resources for packets which are partially processed but are ultimately dropped anyways, the commit applies stake-filter earlier in the gossip pipelines.
- Loading branch information
1 parent
25d4097
commit 700fb70
Showing
7 changed files
with
121 additions
and
83 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
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
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
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
Oops, something went wrong.