diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2016-04-08 16:26:41 +0200 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2016-04-21 00:33:56 +0200 |
commit | ed7068302c7490e8061cb3a558a0f83a465beeea (patch) | |
tree | 99d5a18d6912a7cdefd9874f65508f0a0c95f497 /src/net.h | |
parent | dc13dcd2bec2613a1cd5e0395b09b449d176146f (diff) |
Handle mempool requests in send loop, subject to trickle
By eliminating queued entries from the mempool response and responding only at
trickle time, this makes the mempool no longer leak transaction arrival order
information (as the mempool itself is also sorted)-- at least no more than
relay itself leaks it.
Diffstat (limited to 'src/net.h')
-rw-r--r-- | src/net.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -411,6 +411,8 @@ public: // Used for headers announcements - unfiltered blocks to relay // Also protected by cs_inventory std::vector<uint256> vBlockHashesToAnnounce; + // Used for BIP35 mempool sending, also protected by cs_inventory + bool fSendMempool; // Ping time measurement: // The pong reply we're expecting, or 0 if no pong expected. |