[net processing] Move ProcessOrphanTx to PeerManager

This commit is contained in:
John Newbery
2020-08-24 16:36:29 +01:00
parent b70cd890e3
commit e662e2d42a
2 changed files with 8 additions and 6 deletions

View File

@@ -105,6 +105,8 @@ private:
*/
bool MaybeDiscourageAndDisconnect(CNode& pnode);
void ProcessOrphanTx(std::set<uint256>& orphan_work_set, std::list<CTransactionRef>& removed_txn)
EXCLUSIVE_LOCKS_REQUIRED(cs_main, g_cs_orphans);
/** Process a single headers message from a peer. */
void ProcessHeadersMessage(CNode& pfrom, const std::vector<CBlockHeader>& headers, bool via_compact_block);