HomePhabricator

net: Avoid SetTxRelay for feeler connections

Description

net: Avoid SetTxRelay for feeler connections

Summary:

Seems odd to reserve memory for the struct (the heaviest member being m_tx_inventory_known_filter) when it is never used.

Note that we cannot add the same functional test as Core, because we didn't start backporting the Erlay feature (which is still far from being ready, see core#28646)

This is a backport of core#26396
Depends on D16796

Test Plan: ninja all check-all

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

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

Details

Provenance
MacroFake <falke.marco@gmail.com>Authored on Oct 26 2022, 16:17
PiRKCommitted on Sep 23 2024, 08:18
PiRKPushed on Sep 23 2024, 08:18
Reviewer
Restricted Project
Differential Revision
D16797: net: Avoid SetTxRelay for feeler connections
Parents
rABC184f9a2329c3: net: Set relay in version msg to peers with relay permission
Branches
Unknown
Tags
Unknown