HomePhabricator

net: Extract download permission from noban

Description

net: Extract download permission from noban

Summary:

It should be possible to grant nodes in a local network (e.g. home,
university, enterprise, ...) permission to download blocks even after
the maxuploadtarget is hit.

Currently this is only possible by setting the noban permission, which
has some adverse effects, especially if the peers can't be fully
trusted.

Fix this by extracting a download permission from noban.

Backport of core#19191.

Depends on D9324 and D9325.

Test Plan:

ninja all check-all

Reviewers: #bitcoin_abc, majcosta

Reviewed By: #bitcoin_abc, majcosta

Subscribers: majcosta

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

Details

Provenance
MarcoFalke <falke.marco@gmail.com>Authored on Jun 6 2020, 15:07
FabienCommitted on Mar 22 2021, 09:02
FabienPushed on Mar 22 2021, 09:04
Reviewer
Restricted Project
Differential Revision
D9326: net: Extract download permission from noban
Parents
rABC630e4f7fd5f1: doc: Extract net permissions doc
Branches
Unknown
Tags
Unknown