Bitcoin Core  0.21.1
P2P Digital Currency
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules
Macros | Variables
net.cpp File Reference
#include <net.h>
#include <banman.h>
#include <clientversion.h>
#include <consensus/consensus.h>
#include <crypto/sha256.h>
#include <net_permissions.h>
#include <netbase.h>
#include <node/ui_interface.h>
#include <protocol.h>
#include <random.h>
#include <scheduler.h>
#include <util/strencodings.h>
#include <util/translation.h>
#include <fcntl.h>
#include <algorithm>
#include <cstdint>
#include <unordered_map>
#include <math.h>
Include dependency graph for net.cpp:

Go to the source code of this file.

Macros

#define FEELER_SLEEP_WINDOW   1
 
#define MSG_NOSIGNAL   0
 
#define MSG_DONTWAIT   0
 
#define X(name)   stats.name = name
 

Variables

static constexpr size_t MAX_BLOCK_RELAY_ONLY_ANCHORS = 2
 Maximum number of block-relay-only anchor connections. More...
 

Macro Definition Documentation

#define FEELER_SLEEP_WINDOW   1
#define MSG_DONTWAIT   0
#define MSG_NOSIGNAL   0
#define X (   name)    stats.name = name

Variable Documentation

constexpr size_t MAX_BLOCK_RELAY_ONLY_ANCHORS = 2
static

Maximum number of block-relay-only anchor connections.

Definition at line 55 of file net.cpp.