Changeset View
Changeset View
Standalone View
Standalone View
src/net_processing.h
Show First 20 Lines • Show All 139 Lines • ▼ Show 20 Lines | |||||
* might be disconnected and added to the discouragement filter. | * might be disconnected and added to the discouragement filter. | ||||
*/ | */ | ||||
void Misbehaving(NodeId nodeid, int howmuch, const std::string &message = "") | void Misbehaving(NodeId nodeid, int howmuch, const std::string &message = "") | ||||
EXCLUSIVE_LOCKS_REQUIRED(cs_main); | EXCLUSIVE_LOCKS_REQUIRED(cs_main); | ||||
/** Relay transaction to every node */ | /** Relay transaction to every node */ | ||||
void RelayTransaction(const TxId &txid, const CConnman &connman); | void RelayTransaction(const TxId &txid, const CConnman &connman); | ||||
bool 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, CTxMemPool &mempool, | int64_t nTimeReceived, CTxMemPool &mempool, | ||||
ChainstateManager &chainman, CConnman &connman, | ChainstateManager &chainman, CConnman &connman, | ||||
BanMan *banman, const std::atomic<bool> &interruptMsgProc); | BanMan *banman, const std::atomic<bool> &interruptMsgProc); | ||||
#endif // BITCOIN_NET_PROCESSING_H | #endif // BITCOIN_NET_PROCESSING_H |