diff options
author | Gregory Maxwell <greg@xiph.org> | 2016-04-11 01:09:34 +0000 |
---|---|---|
committer | Gregory Maxwell <greg@xiph.org> | 2016-04-11 01:09:34 +0000 |
commit | 66b07247a7a9e48e082502338176cc06edf61474 (patch) | |
tree | 3ebcc514aeed59dcb78829228b29bc3ded4757bc /src/net.h | |
parent | 065c6b443f3e9864b1b4231208b49e3cef99cef3 (diff) |
Only send one GetAddr response per connection.
This conserves resources from abusive peers that just send
getaddr in a loop. Also makes correlating addr messages
against INVs less effective.
Diffstat (limited to 'src/net.h')
-rw-r--r-- | src/net.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -358,6 +358,7 @@ public: // 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 fSentAddr; CSemaphoreGrant grantOutbound; CCriticalSection cs_filter; CBloomFilter* pfilter; |