Changeset View
Changeset View
Standalone View
Standalone View
src/net_processing.cpp
- This file is larger than 256 KB, so syntax highlighting is disabled by default.
Show First 20 Lines • Show All 794 Lines • ▼ Show 20 Lines | private: | ||||
*/ | */ | ||||
CTransactionRef FindTxForGetData(const CNode &peer, const TxId &txid, | CTransactionRef FindTxForGetData(const CNode &peer, const TxId &txid, | ||||
const std::chrono::seconds mempool_req, | const std::chrono::seconds mempool_req, | ||||
const std::chrono::seconds now) | const std::chrono::seconds now) | ||||
LOCKS_EXCLUDED(cs_main); | LOCKS_EXCLUDED(cs_main); | ||||
void ProcessGetData(const Config &config, CNode &pfrom, Peer &peer, | void ProcessGetData(const Config &config, CNode &pfrom, Peer &peer, | ||||
const std::atomic<bool> &interruptMsgProc) | const std::atomic<bool> &interruptMsgProc) | ||||
EXCLUSIVE_LOCKS_REQUIRED(!cs_main, peer.m_getdata_requests_mutex); | EXCLUSIVE_LOCKS_REQUIRED(peer.m_getdata_requests_mutex) | ||||
LOCKS_EXCLUDED(cs_main); | |||||
/** Relay map. */ | /** Relay map. */ | ||||
typedef std::map<TxId, CTransactionRef> MapRelay; | typedef std::map<TxId, CTransactionRef> MapRelay; | ||||
MapRelay mapRelay GUARDED_BY(cs_main); | MapRelay mapRelay GUARDED_BY(cs_main); | ||||
/** | /** | ||||
* Expiration-time ordered list of (expire time, relay map entry) pairs, | * Expiration-time ordered list of (expire time, relay map entry) pairs, | ||||
* protected by cs_main). | * protected by cs_main). | ||||
▲ Show 20 Lines • Show All 6,228 Lines • Show Last 20 Lines |