Fine‐grained permissions granted to a peer via ‐whitebind or ‐whitelist.

Synopsis

Declared in <net_permissions.h>

enum class NetPermissionFlags : uint32_t;

Members

Name

Description

None

No special permissions.

BloomFilter

May query the bloom filter even when ‐peerbloomfilters is disabled.

Relay

Relay and accept transactions from this peer even in ‐blocksonly mode, exempt from INV tracking limits.

ForceRelay

Always relay transactions from this peer, even if already in the mempool; implies Relay.

Download

Allow getheaders during IBD and block download after the maxuploadtarget limit is reached.

NoBan

Cannot be banned, disconnected, or discouraged for misbehavior; implies Download.

Mempool

May query the mempool.

Addr

May request addresses without hitting the privacy cache and may send unlimited addresses.

Implicit

Set when the user did not configure fine‐grained permissions via ‐whitebind or ‐whitelist.

All

Combination of all fine‐grained permission flags.

Non-Member Functions

Name

Description

operator|

Combine two sets of permission flags with a bitwise OR.

Created with MrDocs