Bitcoin Core  21.99.0
P2P Digital Currency
Public Member Functions | Public Attributes | List of all members
CNode::TxRelay Struct Reference

#include <net.h>

Collaboration diagram for CNode::TxRelay:
[legend]

Public Member Functions

bool fRelayTxes GUARDED_BY (cs_filter)
 
std::unique_ptr< CBloomFilter > pfilter PT_GUARDED_BY (cs_filter) GUARDED_BY(cs_filter)
 
CRollingBloomFilter filterInventoryKnown GUARDED_BY (cs_tx_inventory)
 
bool fSendMempool GUARDED_BY (cs_tx_inventory)
 

Public Attributes

RecursiveMutex cs_filter
 
RecursiveMutex cs_tx_inventory
 
std::set< uint256setInventoryTxToSend
 
std::atomic< std::chrono::seconds > m_last_mempool_req {0s}
 
std::chrono::microseconds nNextInvSend {0}
 
std::atomic< CAmountminFeeFilter {0}
 Minimum fee rate with which to filter inv's to this node. More...
 
CAmount lastSentFeeFilter {0}
 
int64_t nextSendTimeFeeFilter {0}
 

Detailed Description

Definition at line 543 of file net.h.

Member Function Documentation

◆ GUARDED_BY() [1/3]

bool fRelayTxes CNode::TxRelay::GUARDED_BY ( cs_filter  )
inline

Definition at line 549 of file net.h.

◆ GUARDED_BY() [2/3]

CRollingBloomFilter filterInventoryKnown CNode::TxRelay::GUARDED_BY ( cs_tx_inventory  )
inline

Definition at line 553 of file net.h.

◆ GUARDED_BY() [3/3]

bool fSendMempool CNode::TxRelay::GUARDED_BY ( cs_tx_inventory  )
inline

Definition at line 558 of file net.h.

◆ PT_GUARDED_BY()

std::unique_ptr<CBloomFilter> pfilter CNode::TxRelay::PT_GUARDED_BY ( cs_filter  )
inline

Definition at line 550 of file net.h.

Member Data Documentation

◆ cs_filter

RecursiveMutex CNode::TxRelay::cs_filter
mutable

Definition at line 544 of file net.h.

◆ cs_tx_inventory

RecursiveMutex CNode::TxRelay::cs_tx_inventory
mutable

Definition at line 550 of file net.h.

◆ lastSentFeeFilter

CAmount CNode::TxRelay::lastSentFeeFilter {0}

Definition at line 565 of file net.h.

◆ m_last_mempool_req

std::atomic<std::chrono::seconds> CNode::TxRelay::m_last_mempool_req {0s}

Definition at line 560 of file net.h.

◆ minFeeFilter

std::atomic<CAmount> CNode::TxRelay::minFeeFilter {0}

Minimum fee rate with which to filter inv's to this node.

Definition at line 564 of file net.h.

◆ nextSendTimeFeeFilter

int64_t CNode::TxRelay::nextSendTimeFeeFilter {0}

Definition at line 566 of file net.h.

◆ nNextInvSend

std::chrono::microseconds CNode::TxRelay::nNextInvSend {0}

Definition at line 561 of file net.h.

◆ setInventoryTxToSend

std::set<uint256> CNode::TxRelay::setInventoryTxToSend

Definition at line 553 of file net.h.


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