HomePhabricator

net_processing: ignore transactions while in IBD

Description

net_processing: ignore transactions while in IBD

Summary:

Incoming transactions aren't really relevant until we're caught up. That's why we send a giant feefilter and don't send tx getdatas, but we also shouldn't process them if peers send them anyway. Simply ignore them.

Backport of core#21327.

Test Plan:

ninja all check-all

Reviewers: #bitcoin_abc, PiRK

Reviewed By: #bitcoin_abc, PiRK

Differential Revision: https://reviews.bitcoinabc.org/D16505

Details

Provenance
glozow <gzhao408@berkeley.edu>Authored on Feb 26 2021, 21:44
FabienCommitted on Jul 19 2024, 14:06
FabienPushed on Jul 19 2024, 14:06
Reviewer
Restricted Project
Differential Revision
D16505: net_processing: ignore transactions while in IBD
Parents
rABC1e1bd1cbf62a: fuzz: Improve fuzzing stability for txorphan harness
Branches
Unknown
Tags
Unknown