Bitcoin ABC 0.26.3
P2P Digital Currency
Loading...
Searching...
No Matches
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.
 
uint32_t max_orphan_txs {DEFAULT_MAX_ORPHAN_TRANSACTIONS}
 Maximum number of orphan transactions kept in memory.
 
uint32_t max_conflicting_txs {DEFAULT_MAX_CONFLICTING_TRANSACTIONS}
 Maximum number of conflicting transactions kept in memory.
 
uint32_t max_extra_txs {DEFAULT_BLOCK_RECONSTRUCTION_EXTRA_TXN}
 Number of non-mempool transactions to keep around for block reconstruction.
 
bool capture_messages {false}
 Whether all P2P messages are captured to disk.
 
size_t max_addr_to_send {MAX_ADDR_TO_SEND}
 Number of addresses a node may send in an ADDR message.
 
int64_t avalanche_cooldown {AVALANCHE_DEFAULT_COOLDOWN}
 Minimum time between two AVAPOLL messages.
 
int64_t avalanche_peer_replacement_cooldown
 Minimum time before we will consider replacing a finalized proof with a conflicting one.
 
bool avalanche_preconsensus {DEFAULT_AVALANCHE_PRECONSENSUS}
 Whether this node has enabled avalanche preconsensus.
 
bool deterministic_rng {false}
 Whether or not the internal RNG behaves deterministically (this is a test-only option).
 

Detailed Description

Definition at line 69 of file net_processing.h.

Member Data Documentation

◆ avalanche_cooldown

int64_t PeerManager::Options::avalanche_cooldown {AVALANCHE_DEFAULT_COOLDOWN}

Minimum time between two AVAPOLL messages.

Definition at line 87 of file net_processing.h.

◆ avalanche_peer_replacement_cooldown

int64_t PeerManager::Options::avalanche_peer_replacement_cooldown
Initial value:
{
static constexpr size_t AVALANCHE_DEFAULT_PEER_REPLACEMENT_COOLDOWN
Peer replacement cooldown time default value in seconds.
Definition avalanche.h:34

Minimum time before we will consider replacing a finalized proof with a conflicting one.

Definition at line 90 of file net_processing.h.

◆ avalanche_preconsensus

bool PeerManager::Options::avalanche_preconsensus {DEFAULT_AVALANCHE_PRECONSENSUS}

Whether this node has enabled avalanche preconsensus.

Definition at line 93 of file net_processing.h.

◆ capture_messages

bool PeerManager::Options::capture_messages {false}

Whether all P2P messages are captured to disk.

Definition at line 80 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 97 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 71 of file net_processing.h.

◆ max_addr_to_send

size_t PeerManager::Options::max_addr_to_send {MAX_ADDR_TO_SEND}

Number of addresses a node may send in an ADDR message.

This can be modified for tests only. Changing it on main net may cause disconnections.

Definition at line 84 of file net_processing.h.

◆ max_conflicting_txs

uint32_t PeerManager::Options::max_conflicting_txs {DEFAULT_MAX_CONFLICTING_TRANSACTIONS}

Maximum number of conflicting transactions kept in memory.

Definition at line 75 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 and rejected transactions.

Definition at line 78 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 73 of file net_processing.h.


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