aboutsummaryrefslogtreecommitdiff
path: root/src/txorphanage.h
diff options
context:
space:
mode:
authorAnthony Towns <aj@erisian.com.au>2022-10-05 18:54:14 +1000
committerAnthony Towns <aj@erisian.com.au>2022-10-07 14:40:03 +1000
commit89e2e0da0bcd0b0757d7b42907e2d2214da9f68b (patch)
treeb5d91c8347817caeb2f32e6f2046cf6b62f896b9 /src/txorphanage.h
parentff8d44d1967d8ff9fb9b9ea0b87c0470d8cc2550 (diff)
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.
Diffstat (limited to 'src/txorphanage.h')
-rw-r--r--src/txorphanage.h2
1 files changed, 1 insertions, 1 deletions
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 <primitives/transaction.h>
#include <sync.h>
-/** 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)