Page MenuHomePhabricator

doc: Use precise permission flags where possible
AcceptedPublic

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

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
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.Thu, Jul 22, 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.Fri, Jul 23, 06:52