Bitcoin Core  27.99.0
P2P Digital Currency
Public Attributes | List of all members
PeerManager::Options Struct Reference

#include <net_processing.h>

Public Attributes

bool ignore_incoming_txs {DEFAULT_BLOCKSONLY}
 Whether this node is running in -blocksonly mode. More...
 
bool reconcile_txs {DEFAULT_TXRECONCILIATION_ENABLE}
 Whether transaction reconciliation protocol is enabled. More...
 
uint32_t max_orphan_txs {DEFAULT_MAX_ORPHAN_TRANSACTIONS}
 Maximum number of orphan transactions kept in memory. More...
 
uint32_t max_extra_txs {DEFAULT_BLOCK_RECONSTRUCTION_EXTRA_TXN}
 Number of non-mempool transactions to keep around for block reconstruction. More...
 
bool capture_messages {false}
 Whether all P2P messages are captured to disk. More...
 
bool deterministic_rng {false}
 Whether or not the internal RNG behaves deterministically (this is a test-only option). More...
 

Detailed Description

Definition at line 59 of file net_processing.h.

Member Data Documentation

◆ capture_messages

bool PeerManager::Options::capture_messages {false}

Whether all P2P messages are captured to disk.

Definition at line 70 of file net_processing.h.

◆ deterministic_rng

bool PeerManager::Options::deterministic_rng {false}

Whether or not the internal RNG behaves deterministically (this is a test-only option).

Definition at line 73 of file net_processing.h.

◆ ignore_incoming_txs

bool PeerManager::Options::ignore_incoming_txs {DEFAULT_BLOCKSONLY}

Whether this node is running in -blocksonly mode.

Definition at line 61 of file net_processing.h.

◆ max_extra_txs

uint32_t PeerManager::Options::max_extra_txs {DEFAULT_BLOCK_RECONSTRUCTION_EXTRA_TXN}

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

Includes orphan, replaced, and rejected transactions.

Definition at line 68 of file net_processing.h.

◆ max_orphan_txs

uint32_t PeerManager::Options::max_orphan_txs {DEFAULT_MAX_ORPHAN_TRANSACTIONS}

Maximum number of orphan transactions kept in memory.

Definition at line 65 of file net_processing.h.

◆ reconcile_txs

bool PeerManager::Options::reconcile_txs {DEFAULT_TXRECONCILIATION_ENABLE}

Whether transaction reconciliation protocol is enabled.

Definition at line 63 of file net_processing.h.


The documentation for this struct was generated from the following file: