diff --git a/src/net.h b/src/net.h
--- a/src/net.h
+++ b/src/net.h
@@ -1232,7 +1232,7 @@
     // Whether a ping is requested.
     std::atomic<bool> fPingQueued{false};
 
-    std::set<TxId> orphan_work_set;
+    std::set<TxId> m_orphan_work_set;
 
     CNode(NodeId id, ServiceFlags nLocalServicesIn, int nMyStartingHeightIn,
           SOCKET hSocketIn, const CAddress &addrIn, uint64_t nKeyedNetGroupIn,
diff --git a/src/net_processing.cpp b/src/net_processing.cpp
--- a/src/net_processing.cpp
+++ b/src/net_processing.cpp
@@ -3657,7 +3657,7 @@
                     mapOrphanTransactionsByPrev.find(COutPoint(txid, i));
                 if (it_by_prev != mapOrphanTransactionsByPrev.end()) {
                     for (const auto &elem : it_by_prev->second) {
-                        pfrom.orphan_work_set.insert(elem->first);
+                        pfrom.m_orphan_work_set.insert(elem->first);
                     }
                 }
             }
@@ -3672,7 +3672,7 @@
 
             // Recursively process any orphan transactions that depended on this
             // one
-            ProcessOrphanTx(config, pfrom.orphan_work_set);
+            ProcessOrphanTx(config, pfrom.m_orphan_work_set);
         } else if (state.GetResult() == TxValidationResult::TX_MISSING_INPUTS) {
             // It may be the case that the orphans parents have all been
             // rejected.
@@ -4844,9 +4844,9 @@
         ProcessGetData(config, *pfrom, m_connman, m_mempool, interruptMsgProc);
     }
 
-    if (!pfrom->orphan_work_set.empty()) {
+    if (!pfrom->m_orphan_work_set.empty()) {
         LOCK2(cs_main, g_cs_orphans);
-        ProcessOrphanTx(config, pfrom->orphan_work_set);
+        ProcessOrphanTx(config, pfrom->m_orphan_work_set);
     }
 
     if (pfrom->fDisconnect) {
@@ -4858,7 +4858,7 @@
     if (!pfrom->vRecvGetData.empty()) {
         return true;
     }
-    if (!pfrom->orphan_work_set.empty()) {
+    if (!pfrom->m_orphan_work_set.empty()) {
         return true;
     }