-
Notifications
You must be signed in to change notification settings - Fork 38.7k
test: check misbehavior more independently in p2p_filter.py #18726
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
Conversation
|
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. ConflictsNo conflicts as of last run. |
|
Concept ACK -- nit: now with so many small tests for checking the size limits, you could put them all in a new method of the test? |
8cf70c4 to
edf2491
Compare
|
Good idea, updated! And thanks for the review. |
theStack
left a comment
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.
ACK edf2491
edf2491 to
cd543d9
Compare
|
re-ACK cd543d9 |
…p_filter.py cd543d9 test: check misbehavior more independently in p2p_filter.py (Danny Lee) Pull request description: This expands on bitcoin#18672 in two ways: - Check positive cases (`filterload` accepted, `filteradd` accepted) in addition to the negative cases added in bitcoin#18672 - Address MarcoFalke 's [suggestion](bitcoin#18672 (comment)) to successfully load a filter before testing `filteradd` ACKs for top commit: theStack: re-ACK bitcoin@cd543d9 Tree-SHA512: f82402f6287ccddf08b38b6432d5e2b2b2ef528802a981d04c24bac459022f732d9090d4849d72d3d1eb2c757161dcb18c4c036b6e11dc80114e9cd49f21c3bd
…lter.py Summary: cd543d9193ac1882c1b4a8a84e3ac7356a8b7ce9 test: check misbehavior more independently in p2p_filter.py (Danny Lee) Pull request description: This expands on #18672 in two ways: - Check positive cases (`filterload` accepted, `filteradd` accepted) in addition to the negative cases added in #18672 - Address MarcoFalke 's [suggestion](bitcoin/bitcoin#18672 (comment)) to successfully load a filter before testing `filteradd` --- Backport of Core [[bitcoin/bitcoin#18726 | PR18726]] Test Plan: ninja all check check-functional Reviewers: #bitcoin_abc, PiRK Reviewed By: #bitcoin_abc, PiRK Differential Revision: https://reviews.bitcoinabc.org/D9092
This expands on #18672 in two ways:
filterloadaccepted,filteraddaccepted) in addition to the negative cases added in test: add further BIP37 size limit checks to p2p_filter.py #18672filteradd