forked from solana-labs/solana
-
Notifications
You must be signed in to change notification settings - Fork 261
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
obtains shred-version from the entrypoint for gossip spy (#3336)
Having special cases for shred_version == 0 is hacky and error prone. Validators already obtain shred_version from entrypoints on start up: https://github.com/anza-xyz/agave/blob/d8225b547/validator/src/main.rs#L1140-L1142 In order to remove gossip code depending on shred_version == 0, the commit obtains shred-version from the entrypoint for gossip spy.
- Loading branch information
1 parent
51a114e
commit 6130ed3
Showing
1 changed file
with
34 additions
and
2 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