HomePhabricator

net: Set relay in version msg to peers with relay permission

Description

net: Set relay in version msg to peers with relay permission

Summary:

Seems odd to set the relay permission in -blocksonly mode and also ask the peer not to relay transactions.

This is a backport of core#26248
Depends on D16795

Test Plan: ninja all check-all

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

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

Details

Provenance
MacroFake <falke.marco@gmail.com>Authored on Oct 4 2022, 14:20
PiRKCommitted on Sep 23 2024, 08:18
PiRKPushed on Sep 23 2024, 08:18
Reviewer
Restricted Project
Differential Revision
D16796: net: Set relay in version msg to peers with relay permission
Parents
rABCb14242616146: refactor: Introduce PeerManagerImpl::RejectIncomingTxs
Branches
Unknown
Tags
Unknown