Page MenuHomePhabricator

[avalanche] Add a facility to check if a peer is preferred for DL
ClosedPublic

Authored by Fabien on Thu, Jun 3, 10:19.

Details

Reviewers
PiRK
Group Reviewers
Restricted Project
Maniphest Tasks
Restricted Maniphest Task
Commits
rABC9f241cc79d56: [avalanche] Add a facility to check if a peer is preferred for DL
Summary

This wraps up the access to the state's fPreferredDownload flag to
prevent code duplication.

There is no change in behavior.

Depends on D9582.

Part of T1611.

Test Plan
ninja all check-all
./test/functional/test_runner.py p2p_inv_download

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable