Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

Track gossip vote updates per hash for replay stage #16421

Merged
merged 3 commits into from
Apr 11, 2021

Conversation

carllin
Copy link
Contributor

@carllin carllin commented Apr 7, 2021

Problem

Fork choice and switching votes from replay stage should include votes observed in gossip

Summary of Changes

First step, add ability in cluster info vote listener to track new votes by hash
fyi @aeyakovenko

Fixes #

@carllin carllin requested review from sakridge and jstarry April 7, 2021 09:49
@carllin carllin marked this pull request as draft April 7, 2021 11:59
@codecov
Copy link

codecov bot commented Apr 8, 2021

Codecov Report

Merging #16421 (47eb0d0) into master (92f4018) will decrease coverage by 0.0%.
The diff coverage is 93.1%.

@@            Coverage Diff            @@
##           master   #16421     +/-   ##
=========================================
- Coverage    80.1%    80.1%   -0.1%     
=========================================
  Files         413      413             
  Lines      110490   110550     +60     
=========================================
+ Hits        88558    88606     +48     
- Misses      21932    21944     +12     

@carllin carllin marked this pull request as ready for review April 9, 2021 00:54
Copy link
Contributor

@sakridge sakridge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks pretty straightforward. lgtm

@carllin carllin added the v1.6 label Apr 11, 2021
@carllin carllin merged commit 99b3aab into solana-labs:master Apr 11, 2021
mergify bot pushed a commit that referenced this pull request Apr 11, 2021
* Track gossip vote updates per hash for replay stage

(cherry picked from commit 99b3aab)

# Conflicts:
#	core/src/consensus.rs
#	core/src/replay_stage.rs
carllin added a commit that referenced this pull request Apr 11, 2021
* Track gossip vote updates per hash for replay stage

(cherry picked from commit 99b3aab)
mergify bot added a commit that referenced this pull request Apr 11, 2021
* Track gossip vote updates per hash for replay stage

(cherry picked from commit 99b3aab)

Co-authored-by: carllin <carl@solana.com>
@brooksprumo brooksprumo mentioned this pull request Aug 23, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants