Bitcoin Core  0.19.99
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

 TxRelay ()
 
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)
 
CAmount minFeeFilter GUARDED_BY (cs_feeFilter)
 

Public Attributes

RecursiveMutex cs_filter
 
RecursiveMutex cs_tx_inventory
 
std::set< uint256setInventoryTxToSend
 
std::atomic< std::chrono::seconds > m_last_mempool_req {std::chrono::seconds{0}}
 
std::chrono::microseconds nNextInvSend {0}
 
RecursiveMutex cs_feeFilter
 
CAmount lastSentFeeFilter {0}
 
int64_t nextSendTimeFeeFilter {0}
 

Detailed Description

Definition at line 796 of file net.h.

Constructor & Destructor Documentation

◆ TxRelay()

CNode::TxRelay::TxRelay ( )
inline

Definition at line 797 of file net.h.

Member Function Documentation

◆ GUARDED_BY() [1/4]

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

Definition at line 803 of file net.h.

Here is the call graph for this function:

◆ GUARDED_BY() [2/4]

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

Definition at line 807 of file net.h.

◆ GUARDED_BY() [3/4]

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

Definition at line 812 of file net.h.

◆ GUARDED_BY() [4/4]

CAmount minFeeFilter CNode::TxRelay::GUARDED_BY ( cs_feeFilter  )
inline

Definition at line 819 of file net.h.

◆ PT_GUARDED_BY()

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

Member Data Documentation

◆ cs_feeFilter

RecursiveMutex CNode::TxRelay::cs_feeFilter

Definition at line 817 of file net.h.

◆ cs_filter

RecursiveMutex CNode::TxRelay::cs_filter
mutable

Definition at line 798 of file net.h.

◆ cs_tx_inventory

RecursiveMutex CNode::TxRelay::cs_tx_inventory
mutable

Definition at line 806 of file net.h.

◆ lastSentFeeFilter

CAmount CNode::TxRelay::lastSentFeeFilter {0}

Definition at line 820 of file net.h.

◆ m_last_mempool_req

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

Definition at line 814 of file net.h.

◆ nextSendTimeFeeFilter

int64_t CNode::TxRelay::nextSendTimeFeeFilter {0}

Definition at line 821 of file net.h.

◆ nNextInvSend

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

Definition at line 815 of file net.h.

◆ setInventoryTxToSend

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

Definition at line 807 of file net.h.


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