This repository was archived by the owner on Jan 22, 2025. It is now read-only.
Rename remaining ones to replay_vote_{sender,receiver} #29716
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
(no rush; no need to work on weekend)
Problem
There's remaining instances of stale variable names for the type of
ReplayVote{Sender/Receiver}
.hmm, actually, i found that it's not stale after some
git log
unfolding.... it seems that the var name and type name were inconsistent since the beginning...: https://github.com/solana-labs/solana/pull/11434/files#r1070596384 (#11434)....(
I think it's a bit off that we call this type as
*Replay*Vote{Sender,Receiver}
considering its usage inside BankingStage. yet again*gossip*_vote_{sender,receiver}
is misnomer too, considering it's not only gossip but all of committed votes in banking stage is sent over the channel (including vote tpu, non-vote tpu origins).... Fixing this is out of scope, I'll just align all to type names.... cc: @carllinhehe, it's so tempting to rename them all to
CommittedVote{Sender,Receiver}
. but I'm quite deep at buffered prs. T_T)
Namely, I want to use
gossip_vote_sender
in #29196, but it's currently squatted by the stale variables here and there.Summary of Changes
Rename 'em all with this preparatory pr to ease review of #29196.
Fixes #