Bitcoin Core 28.99.0
P2P Digital Currency
Classes | Namespaces | Variables
net_processing.h File Reference
#include <net.h>
#include <txorphanage.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

namespace  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 unsigned int MAX_CMPCTBLOCKS_INFLIGHT_PER_BLOCK = 3
 Maximum number of outstanding CMPCTBLOCK requests for the same block. More...
 
static const unsigned int MAX_HEADERS_RESULTS = 2000
 Number of headers sent in one getheaders result. 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 30 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 27 of file net_processing.h.

◆ DEFAULT_PEERBLOCKFILTERS

const bool DEFAULT_PEERBLOCKFILTERS = false
static

Definition at line 32 of file net_processing.h.

◆ DEFAULT_PEERBLOOMFILTERS

const bool DEFAULT_PEERBLOOMFILTERS = false
static

Definition at line 31 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 25 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 34 of file net_processing.h.

◆ MAX_HEADERS_RESULTS

const unsigned int MAX_HEADERS_RESULTS = 2000
static

Number of headers sent in one getheaders result.

We rely on the assumption that if a peer sends less than this number, we reached its tip. Changing this value is a protocol upgrade.

Definition at line 37 of file net_processing.h.