Page MenuHomePhabricator

doc: Use precise permission flags where possible
ClosedPublic

Authored by PiRK on Jul 22 2021, 15:07.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABCb5e61384aa60: 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

Event Timeline

PiRK requested review of this revision.Jul 22 2021, 15:07
Fabien added a subscriber: Fabien.
Fabien added inline comments.
src/init.cpp
461

layout

This revision is now accepted and ready to land.Jul 23 2021, 06:52