Bitcoin Core  0.20.99
P2P Digital Currency
Classes | Enumerations | Variables
net_permissions.h File Reference
#include <netaddress.h>
#include <string>
#include <vector>
Include dependency graph for net_permissions.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  NetPermissions
 
class  NetWhitebindPermissions
 
class  NetWhitelistPermissions
 

Enumerations

enum  NetPermissionFlags {
  PF_NONE = 0, PF_BLOOMFILTER = (1U << 1), PF_RELAY = (1U << 3), PF_FORCERELAY = (1U << 2) | PF_RELAY,
  PF_DOWNLOAD = (1U << 6), PF_NOBAN = (1U << 4) | PF_DOWNLOAD, PF_MEMPOOL = (1U << 5), PF_ADDR = (1U << 7),
  PF_ISIMPLICIT = (1U << 31), PF_ALL = PF_BLOOMFILTER | PF_FORCERELAY | PF_RELAY | PF_NOBAN | PF_MEMPOOL | PF_DOWNLOAD | PF_ADDR
}
 

Variables

const std::vector< std::string > NET_PERMISSIONS_DOC
 

Enumeration Type Documentation

◆ NetPermissionFlags

Enumerator
PF_NONE 
PF_BLOOMFILTER 
PF_RELAY 
PF_FORCERELAY 
PF_DOWNLOAD 
PF_NOBAN 
PF_MEMPOOL 
PF_ADDR 
PF_ISIMPLICIT 
PF_ALL 

Definition at line 17 of file net_permissions.h.

Variable Documentation

◆ NET_PERMISSIONS_DOC

const std::vector<std::string> NET_PERMISSIONS_DOC

Definition at line 11 of file net_permissions.cpp.