HomePhabricator

[avalanche] Answer proof invs with getdata proof requests

Description

[avalanche] Answer proof invs with getdata proof requests

Summary:
This makes use of the InvRequestTracker for tracking proof inventories.
This is similar to what is done for the transactions as demonstrated by
running the same functional tests.

This is missing the peer disconnection and the notfound management which
will be in their own diff.

Depends on D9598 and D9608.

Test Plan:

ninja all check-all
./test/functional/test_runner.py p2p_inv_download
../contrib/teamcity/build-configurations.py build-tsan

Also run p2p_inv_download under TSAN.

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

Subscribers: deadalnix

Maniphest Tasks: T1611, T1634

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

Details

Provenance
FabienAuthored on May 20 2021, 10:28
FabienPushed on Jun 4 2021, 19:34
Reviewer
Restricted Project
Differential Revision
D9582: [avalanche] Answer proof invs with getdata proof requests
Parents
rABC97ecb320bde4: [avalanche] make delegateavalancheproof take a limited id rather than a whole…
Branches
Unknown
Tags
Unknown
Tasks
Restricted Maniphest Task
Restricted Maniphest Task