Page MenuHomePhabricator

p2p: Reduce inv traffic during IBD
ClosedPublic

Authored by Fabien on Mar 18 2021, 19:51.

Details

Reviewers
PiRK
Group Reviewers
Restricted Project
Commits
rABC53281306280f: p2p: Reduce inv traffic during IBD
Summary
Tx-inv messages are ignored during IBD, so it would be nice if we told
peers to not send them in the first place. Do that by sending two
feefilter messages: One when the connection is made (and the node is in
IBD), and another one when the node leaves IBD.

Backport of core#19204.

Test Plan
ninja all check-all

Run IBD.

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable