HomePhabricator

[avalanche] Keep track of the peer creation time

Description

[avalanche] Keep track of the peer creation time

Summary:
Similar to what is done for the transactions, this will be used to filter which proof a peer can request, by only allowing for download the proofs which are in our pool for long enough.
The intent is to improve privacy by preventing peers from being able to guess our proof pool. It is a complementary feature to be used in conjunction with D9642.

There is no change in behavior at this stage.

Ref T1611.

Test Plan:

ninja all check-avalanche

Reviewers: #bitcoin_abc, PiRK

Reviewed By: #bitcoin_abc, PiRK

Subscribers: deadalnix

Maniphest Tasks: T1611

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

Details

Provenance
FabienAuthored on Jun 7 2021, 12:35
FabienPushed on Jun 9 2021, 07:35
Reviewer
Restricted Project
Differential Revision
D9643: [avalanche] Keep track of the peer creation time
Parents
rABC8ee560a6dec6: [avalanche] Keep a rolling bloom filter of our recently announced proofs
Branches
Unknown
Tags
Unknown
Tasks
Restricted Maniphest Task