diff options
| author | Gregory Maxwell <[email protected]> | 2016-04-20 07:05:23 +0000 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2016-04-21 00:33:56 +0200 |
| commit | b5599147533103efea896a1fc4ff51f2d3ad5808 (patch) | |
| tree | 96273816a881746f3d0390d7e50e6466eb6f28c0 /src/net.h | |
| parent | Return mempool queries in dependency order (diff) | |
| download | discoin-b5599147533103efea896a1fc4ff51f2d3ad5808.tar.xz discoin-b5599147533103efea896a1fc4ff51f2d3ad5808.zip | |
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; |