HomePhabricator

Don't relay addr messages to block-relay-only peers

Description

Don't relay addr messages to block-relay-only peers

Summary:
We don't want relay of addr messages to leak information about
these network links.

This is a partial backport of Core PR15759 : https://github.com/bitcoin/bitcoin/pull/15759/commits/430f489027f15c1e4948ea4378954df24e3fee88

Depends on D6429

Test Plan:

ninja all check-all

Reviewers: #bitcoin_abc, majcosta

Reviewed By: #bitcoin_abc, majcosta

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

Details

Provenance
Suhas Daftuar <sdaftuar@gmail.com>Authored on Apr 5 2019, 17:35
deadalnixCommitted on Jun 8 2020, 20:39
deadalnixPushed on Jun 8 2020, 20:39
Reviewer
Restricted Project
Differential Revision
D6433: Don't relay addr messages to block-relay-only peers
Parents
rABCce6365f59234: Add 2 outbound block-relay-only connections
Branches
Unknown
Tags
Unknown