mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 14:38:29 +01:00
Merge #19498: Tidy up ProcessOrphanTx
001343f4bcProcessOrphanTx: Move AddToCompactExtraTransactions call into ProcessOrphanTx (John Newbery)4fce726bd1ProcessOrphanTx: Remove aliases (John Newbery)e07c5d9423ProcessOrphanTx: Remove outdated commented (John Newbery)4763b51bcaProcessOrphanTx: remove useless setMisbehaving set (John Newbery)55c79a9cefProcessOrphanTx: remove useless done variable (John Newbery)6e8dd99ef1[net processing] Add doxygen comments for orphan data and function (John Newbery) Pull request description: Originally a follow-up to #19364, this simplifies the logic in ProcessOrphanTx() and removes unused variables. ACKs for top commit: troygiorshev: ACK001343f4bcsipa: utACK001343f4bcMarcoFalke: ACK001343f4bc🌮 Tree-SHA512: be558457f2e08ebb6bddcd49bdd75bd410c3650da44a76c688fc9f07822f94d5a1af93fa1342678052b2c8163cdb9745c352c7884325ab0a41fa593c3eb89116
This commit is contained in:
@@ -121,8 +121,7 @@ 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);
|
||||
void ProcessOrphanTx(std::set<uint256>& orphan_work_set) 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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user