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

gs1.1: use publishThreshold for floodsub fallback peers #102

Merged
merged 1 commit into from
Jul 6, 2020

Conversation

wemeetagain
Copy link
Member

@wemeetagain wemeetagain commented Jul 2, 2020

We should check a peer's score against the publishThreshold even if they are a floodsub peer.
This was missed in integrating the scoring into gossipsub.

Caught looking at go-libp2p-pubsub implementaiton

@codecov-commenter
Copy link

codecov-commenter commented Jul 2, 2020

Codecov Report

Merging #102 into gsv1.1 will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           gsv1.1     #102   +/-   ##
=======================================
  Coverage   81.81%   81.81%           
=======================================
  Files           1        1           
  Lines          11       11           
=======================================
  Hits            9        9           
  Misses          2        2           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e60483d...a6d30f0. Read the comment docs.

@wemeetagain wemeetagain changed the title Use publishThreshold for floodsub fallback peers gs1.1: use publishThreshold for floodsub fallback peers Jul 2, 2020
@wemeetagain
Copy link
Member Author

@vasco-santos bump
This is just a small PR fixing something I'd missed in the scoring integration

Copy link
Collaborator

@vasco-santos vasco-santos left a comment

Choose a reason for hiding this comment

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

LGTM!

@wemeetagain wemeetagain merged commit 2360489 into gsv1.1 Jul 6, 2020
@wemeetagain wemeetagain deleted the cayman/gs1.1-publish-flood branch July 6, 2020 15:05
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.

3 participants