Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix dos data-type for non-gossip mode #20465

Merged
merged 1 commit into from
Oct 6, 2021

Conversation

sakridge
Copy link
Member

@sakridge sakridge commented Oct 6, 2021

Problem

data-type setting checks for nodes.empty but doesn't need to. Only for the repair cases where it actually picks a random target.

Summary of Changes

Make a helper for repair data cases and generate data according to the parameter in other cases.

Fixes #

@codecov
Copy link

codecov bot commented Oct 6, 2021

Codecov Report

Merging #20465 (757bf45) into master (41c160d) will increase coverage by 0.0%.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master   #20465   +/-   ##
=======================================
  Coverage    82.6%    82.6%           
=======================================
  Files         495      495           
  Lines      136481   136481           
=======================================
+ Hits       112734   112735    +1     
+ Misses      23747    23746    -1     

@sakridge sakridge merged commit b178f3f into solana-labs:master Oct 6, 2021
@sakridge sakridge deleted the dos-data-type branch October 6, 2021 16:49
mergify bot pushed a commit that referenced this pull request Oct 6, 2021
mergify bot added a commit that referenced this pull request Oct 6, 2021
(cherry picked from commit b178f3f)

Co-authored-by: sakridge <sakridge@gmail.com>
dankelleher pushed a commit to identity-com/solana that referenced this pull request Nov 24, 2021
frits-metalogix added a commit to identity-com/solana that referenced this pull request Nov 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant