HomePhabricator

[avalanche] Send avalanche proofs upon request

Description

[avalanche] Send avalanche proofs upon request

Summary:
This makes the node answer the proof inv requests from a getdata
message. To prevent fingerprinting the following conditions must be met:

  • the inv should have been recently announced, or
  • the proof is known (has been added) for more than 2 minutes

Depends on D9642 and D9643.

Ref T1611.

Test Plan:

ninja all check-all

Reviewers: #bitcoin_abc, PiRK

Reviewed By: #bitcoin_abc, PiRK

Maniphest Tasks: T1611

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

Details

Provenance
FabienAuthored on Thu, Jun 3, 15:49
FabienPushed on Wed, Jun 9, 07:47
Reviewer
Restricted Project
Differential Revision
D9644: [avalanche] Send avalanche proofs upon request
Parents
rABC963d2d852a3a: [avalanche] Keep track of the peer creation time
Branches
Unknown
Tags
Unknown
Tasks
Restricted Maniphest Task