From 89e2e0da0bcd0b0757d7b42907e2d2214da9f68b Mon Sep 17 00:00:00 2001 From: Anthony Towns Date: Wed, 5 Oct 2022 18:54:14 +1000 Subject: net_processing: move extra transactions to msgproc mutex Previously vExtraTxnForCompact and vExtraTxnForCompactIt were protected by g_cs_orphans; protect them by g_msgproc_mutex instead, as they are only used during message processing. --- src/txorphanage.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/txorphanage.h') diff --git a/src/txorphanage.h b/src/txorphanage.h index 9363e6f733..92f4319d7d 100644 --- a/src/txorphanage.h +++ b/src/txorphanage.h @@ -10,7 +10,7 @@ #include #include -/** Guards orphan transactions and extra txs for compact blocks */ +/** Guards orphan transactions */ extern RecursiveMutex g_cs_orphans; /** A class to track orphan transactions (failed on TX_MISSING_INPUTS) -- cgit v1.2.3