test: add functional test for txrelay during and after IBD#19423
test: add functional test for txrelay during and after IBD#19423maflcko merged 1 commit intobitcoin:masterfrom
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 :( |
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 |
|
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.