Bitcoin Core  27.99.0
P2P Digital Currency
Classes | Namespaces | Variables
net_processing.h File Reference
#include <net.h>
#include <validationinterface.h>
#include <chrono>
Include dependency graph for net_processing.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  CNodeStateStats
 
struct  PeerManagerInfo
 
class  PeerManager
 
struct  PeerManager::Options
 

Namespaces

 node
 

Variables

static constexpr bool DEFAULT_TXRECONCILIATION_ENABLE {false}
 Whether transaction reconciliation protocol should be enabled by default. More...
 
static const uint32_t DEFAULT_MAX_ORPHAN_TRANSACTIONS {100}
 Default for -maxorphantx, maximum number of orphan transactions kept in memory. More...
 
static const uint32_t DEFAULT_BLOCK_RECONSTRUCTION_EXTRA_TXN {100}
 Default number of non-mempool transactions to keep around for block reconstruction. More...
 
static const bool DEFAULT_PEERBLOOMFILTERS = false
 
static const bool DEFAULT_PEERBLOCKFILTERS = false
 
static const int DISCOURAGEMENT_THRESHOLD {100}
 Threshold for marking a node to be discouraged, e.g. More...
 
static const unsigned int MAX_CMPCTBLOCKS_INFLIGHT_PER_BLOCK = 3
 Maximum number of outstanding CMPCTBLOCK requests for the same block. More...
 

Variable Documentation

◆ DEFAULT_BLOCK_RECONSTRUCTION_EXTRA_TXN

const uint32_t DEFAULT_BLOCK_RECONSTRUCTION_EXTRA_TXN {100}
static

Default number of non-mempool transactions to keep around for block reconstruction.

Includes orphan, replaced, and rejected transactions.

Definition at line 29 of file net_processing.h.

◆ DEFAULT_MAX_ORPHAN_TRANSACTIONS

const uint32_t DEFAULT_MAX_ORPHAN_TRANSACTIONS {100}
static

Default for -maxorphantx, maximum number of orphan transactions kept in memory.

Definition at line 26 of file net_processing.h.

◆ DEFAULT_PEERBLOCKFILTERS

const bool DEFAULT_PEERBLOCKFILTERS = false
static

Definition at line 31 of file net_processing.h.

◆ DEFAULT_PEERBLOOMFILTERS

const bool DEFAULT_PEERBLOOMFILTERS = false
static

Definition at line 30 of file net_processing.h.

◆ DEFAULT_TXRECONCILIATION_ENABLE

constexpr bool DEFAULT_TXRECONCILIATION_ENABLE {false}
staticconstexpr

Whether transaction reconciliation protocol should be enabled by default.

Definition at line 24 of file net_processing.h.

◆ DISCOURAGEMENT_THRESHOLD

const int DISCOURAGEMENT_THRESHOLD {100}
static

Threshold for marking a node to be discouraged, e.g.

disconnected and added to the discouragement filter.

Definition at line 33 of file net_processing.h.

◆ MAX_CMPCTBLOCKS_INFLIGHT_PER_BLOCK

const unsigned int MAX_CMPCTBLOCKS_INFLIGHT_PER_BLOCK = 3
static

Maximum number of outstanding CMPCTBLOCK requests for the same block.

Definition at line 35 of file net_processing.h.