HomePhabricator

[avalanche] Don't send peers with no node attached in compact proofs

Description

[avalanche] Don't send peers with no node attached in compact proofs

Summary:
This doesn't prevent relaying as inventory but it ensures a smooth cleanup of the dangling proofs after the remote proofs are in use. As a consequence we compare the compact proofs with the peer set to determine what is missing from our remote.

Depends on D14679.

Test Plan:

ninja all check-all

Reviewers: #bitcoin_abc, PiRK

Reviewed By: #bitcoin_abc, PiRK

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

Details

Provenance
FabienAuthored on Oct 24 2023, 09:46
FabienPushed on Oct 25 2023, 10:21
Reviewer
Restricted Project
Differential Revision
D14680: [avalanche] Don't send peers with no node attached in compact proofs
Parents
rABC270aed7481db: [avalanche] Pass our local proof to the peer manager at construct time
Branches
Unknown
Tags
Unknown