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

feat: update pubsub #76

Merged
merged 1 commit into from
May 20, 2020
Merged

feat: update pubsub #76

merged 1 commit into from
May 20, 2020

Conversation

Stebalien
Copy link
Member

No description provided.

@Stebalien
Copy link
Member Author

(merging pre-review so I can bubble this to go-ipfs)

@Stebalien Stebalien merged commit 14b1bff into master May 20, 2020
Comment on lines +196 to +198
if !valid {
return pubsub.ValidationReject
}
Copy link
Contributor

Choose a reason for hiding this comment

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

This seems fine are we using the scoring function at all? What do you think about rejecting cmp < 0 as well? This should mean peers will occasionally get published, but should not get punished repeatedly. I don't know how long it takes to recover score after being penalized.

@Stebalien Stebalien mentioned this pull request May 26, 2020
77 tasks
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.

2 participants