Changeset View
Changeset View
Standalone View
Standalone View
src/net_processing.h
Show First 20 Lines • Show All 110 Lines • ▼ Show 20 Lines | void EvictExtraOutboundPeers(int64_t time_in_seconds) | ||||
EXCLUSIVE_LOCKS_REQUIRED(cs_main); | EXCLUSIVE_LOCKS_REQUIRED(cs_main); | ||||
/** Process a single message from a peer. Public for fuzz testing */ | /** Process a single message from a peer. Public for fuzz testing */ | ||||
void ProcessMessage(const Config &config, CNode &pfrom, | void ProcessMessage(const Config &config, CNode &pfrom, | ||||
const std::string &msg_type, CDataStream &vRecv, | const std::string &msg_type, CDataStream &vRecv, | ||||
int64_t nTimeReceived, | int64_t nTimeReceived, | ||||
const std::atomic<bool> &interruptMsgProc); | const std::atomic<bool> &interruptMsgProc); | ||||
/** | |||||
* Retrieve unbroadcast transactions from the mempool and reattempt | |||||
* sending to peers | |||||
*/ | |||||
void ReattemptInitialBroadcast(CScheduler &scheduler) const; | |||||
private: | private: | ||||
/** | /** | ||||
* Maybe disconnect a peer and discourage future connections from its | * Maybe disconnect a peer and discourage future connections from its | ||||
* address. | * address. | ||||
* | * | ||||
* @param[in] pnode The node to check. | * @param[in] pnode The node to check. | ||||
* @return True if the peer was marked for disconnection in | * @return True if the peer was marked for disconnection in | ||||
* this function | * this function | ||||
Show All 37 Lines |