Add comment explaining intended use of m_tx_relay

This commit is contained in:
Suhas Daftuar 2019-03-08 16:04:55 -05:00
parent e75c39cd42
commit b83f51a4bb

View file

@ -733,6 +733,7 @@ public:
int64_t nextSendTimeFeeFilter{0}; int64_t nextSendTimeFeeFilter{0};
}; };
// m_tx_relay == nullptr if we're not relaying transactions with this peer
std::unique_ptr<TxRelay> m_tx_relay; std::unique_ptr<TxRelay> m_tx_relay;
// Used for headers announcements - unfiltered blocks to relay // Used for headers announcements - unfiltered blocks to relay
std::vector<uint256> vBlockHashesToAnnounce GUARDED_BY(cs_inventory); std::vector<uint256> vBlockHashesToAnnounce GUARDED_BY(cs_inventory);