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 |
|
No special permissions. |
|
May query the bloom filter even when ‐peerbloomfilters is disabled. |
|
Relay and accept transactions from this peer even in ‐blocksonly mode, exempt from INV tracking limits. |
|
Always relay transactions from this peer, even if already in the mempool; implies Relay. |
|
Allow getheaders during IBD and block download after the maxuploadtarget limit is reached. |
|
Cannot be banned, disconnected, or discouraged for misbehavior; implies Download. |
|
May query the mempool. |
|
May request addresses without hitting the privacy cache and may send unlimited addresses. |
|
Set when the user did not configure fine‐grained permissions via ‐whitebind or ‐whitelist. |
|
Combination of all fine‐grained permission flags. |
Non-Member Functions
Name |
Description |
Combine two sets of permission flags with a bitwise OR. |
Created with MrDocs