HomePhabricator

doc: Use precise permission flags where possible

Description

doc: Use precise permission flags where possible

Summary:
Instead of mentioning the all-encompassing -whitelist* settings, change the docs to mention the exact permission flag that will influence the behaviour.

This is needed because in the future, the too-broad -whitelist* settings (they either include all permission flags or apply to all peers) might be deprecated to require the permission flags to be enumerated.

Alternatively, in the future there could be an RPC to set the net permission flags on an existing connection, in which case the -whitelist* terminology is of no help.

This is a backport of core#19474

Depends on D9831

Test Plan: ninja check-functional

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Subscribers: Fabien

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

Details

Provenance
MarcoFalke <falke.marco@gmail.com>Authored on Jul 9 2020, 15:59
PiRKCommitted on Aug 30 2021, 08:51
PiRKPushed on Aug 30 2021, 08:51
Reviewer
Restricted Project
Differential Revision
D9832: doc: Use precise permission flags where possible
Parents
rABC1ee3e4bda416: net: Remove forcerelay of rejected txs
Branches
Unknown
Tags
Unknown