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

Don't disconnect peers on MNAUTH verification failure #2868

Merged
merged 2 commits into from
Apr 15, 2019

Conversation

codablock
Copy link

Only give them a DoS score.

When MNs get removed from the valid set or their key changes, they might get into a situation where all nodes disconnect them and give them no chance to get up-to-date and thus they never learn about the change in the MN list. This PR fixes this.

@codablock codablock added this to the 14.0 milestone Apr 15, 2019
Co-Authored-By: codablock <ablock84@gmail.com>
Copy link

@UdjinM6 UdjinM6 left a comment

Choose a reason for hiding this comment

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

utACK

@UdjinM6 UdjinM6 added the P2P Some notable changes on p2p level label Apr 15, 2019
@codablock codablock merged commit a67e661 into dashpay:develop Apr 15, 2019
@codablock codablock deleted the pr_mnauth_nodisconnect branch April 15, 2019 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P2P Some notable changes on p2p level
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants