diff --git a/src/net.h b/src/net.h --- a/src/net.h +++ b/src/net.h @@ -978,7 +978,7 @@ // Set of transaction ids we still have to announce. // They are sorted by the mempool before relay, so the order is not // important. - std::set setInventoryTxToSend; + std::set setInventoryTxToSend GUARDED_BY(cs_tx_inventory); // Used for BIP35 mempool sending bool fSendMempool GUARDED_BY(cs_tx_inventory){false}; // Last time a "MEMPOOL" request was serviced.