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

Check node address in header spam protection #536

Merged
merged 1 commit into from
Jun 29, 2019

Conversation

aguycalled
Copy link
Member

Taken from QTUM fix qtumproject/qtum#703

Copy link
Contributor

@mxaddict mxaddict left a comment

Choose a reason for hiding this comment

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

ACK, testsuite passed locally (Ubuntu 18.04)

Not sure how to test a DOS attack on this change though

@proletesseract
Copy link
Member

compiles and runs on Ubuntu 18.04. Syncing works. Code changes make sense. I haven't tested spamming headers manually. Is it worth trying to write a unit test to cover this spam protection?

@proletesseract proletesseract merged commit 45c98d5 into navcoin:master Jun 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants