diff options
author | Gregory Maxwell <greg@xiph.org> | 2016-04-20 07:05:23 +0000 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2016-04-21 00:33:56 +0200 |
commit | b5599147533103efea896a1fc4ff51f2d3ad5808 (patch) | |
tree | 96273816a881746f3d0390d7e50e6466eb6f28c0 /src/net.h | |
parent | 4578215e7f787968c1d6478e6df75499bd36dd8d (diff) |
Move bloom and feerate filtering to just prior to tx sending.
This will avoid sending more pointless INVs around updates, and
prevents using filter updates to timetag transactions.
Also adds locking for fRelayTxes.
Diffstat (limited to 'src/net.h')
-rw-r--r-- | src/net.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -357,7 +357,7 @@ public: // a) it allows us to not relay tx invs before receiving the peer's version message // b) the peer may tell us in its version message that we should not relay tx invs // unless it loads a bloom filter. - bool fRelayTxes; + bool fRelayTxes; //protected by cs_filter bool fSentAddr; CSemaphoreGrant grantOutbound; CCriticalSection cs_filter; |