-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Whitelist nodes in llmq_dkgerrors.py #3112
Conversation
Can't we just add |
Hmm yeah, that's also an option and ensures that we also test invalid sigs here. I'll change this PR later |
a80daef
to
5c946d4
Compare
Updated PR to simply whitelist nodes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
utACK
Current test failure is unrelated to this PR |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm.
Wouldn't this mean that even if node B was doing something which would (and should) get it banned it wouldn't be banned? This could result in us not catching a bug where nodes (on real nets) do something wrong/bannable and get banned and we didn't catch it here because it was whitelisted.
@PastaPastaPasta llmq_dkgerrors.py is not supposed to test p2p banning, but the DKG's behavior on wrong behavior (which is not skipped by whitelisting). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
utACK
needs rebase |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs rebase
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
utACK, pending rebase
Rebased on develop |
5c946d4
to
900d22c
Compare
This avoids banning due to invalid sigs
900d22c
to
be11b83
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
utACK
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
re-utACK
This avoids banning due to invalid sigs
This fixes a few rare test failures