-
Notifications
You must be signed in to change notification settings - Fork 38.8k
test: add functional test for txrelay during and after IBD #19423
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
|
Btw thanks @jonatack for input on the test 😄 added you as coauthor. I added a loop for peerinfo so this test should work with any number of nodes. |
|
Pushing to rerun travis because a job timed out :( |
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.
Concept ACK 😄
A few suggestions below.
You can also ask for a travis re-kick on irc and someone will restart just the recalcitrant job. In this case, I'll keep a sharp weather eye and re-kick any jobs needed here. |
|
LGTM |
maflcko
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.
Very nice. Concept ACK
|
ACK fc1a714 |
9bdbd30 to
6cd6fc8
Compare
|
Soooo I just had an excellent adventure through the mock time stuff... I can't get |
|
Concept ACK, just read the code and looks good to me. |
|
Concept ACK Thanks for improving our testing! |
|
The test fails on the second commit. I am happy to merge the first commit, though, and we can leave the second commit for a later pull? |
|
@MarcoFalke thanks! Would you happen to have a log for the test fail? (Also it seems like a travis job timed out but otherwise green). I can definitely separate the second commit, but currently it's working for me so I'm not sure how to fix it 😕 |
|
@gzhao408 here's the link (you can click through to it on the ❌ ) https://travis-ci.org/github/bitcoin/bitcoin/jobs/704781135. I restarted the job a few days ago to see if it would re-fail. |
|
(Do you have travis linked to your personal fork of the bitcoin repo? You can restart failing jobs there.) |
Co-authored-by: Jon Atack <[email protected]>
|
Sorry for the delay 😓 ready for review again. Pushed it back to the first commit and fixed the error - this tests the fee filter during and after IBD, no txrelay. I'll work on txrelay and will make it a followup. |
|
utACK cb31ee0 |
Summary: > This is a followup to #19204 which uses minfeefilter=MAX_MONEY to effectively shut off txrelay, thereby reducing inv traffic, when nodes are in IBD. It was missing a functional test. Co-authored-by: Jon Atack <[email protected]> This is a backport of [[bitcoin/bitcoin#19423 | core#19423]] Test Plan: `ninja check-functional` Reviewers: #bitcoin_abc, Fabien Reviewed By: #bitcoin_abc, Fabien Differential Revision: https://reviews.bitcoinabc.org/D10014
This is a followup to #19204 which uses
minfeefilter=MAX_MONEYto effectively shut off txrelay, thereby reducing inv traffic, when nodes are in IBD. It was missing a functional test.