Only send one GetAddr response per connection.

This commit is contained in:
Gregory Maxwell
2016-04-11 01:09:34 +00:00
committed by lateminer
parent ea8bac6c36
commit e577b5c7e1
3 changed files with 10 additions and 0 deletions

View File

@@ -355,6 +355,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; //protected by cs_filter
bool fSentAddr;
CSemaphoreGrant grantOutbound;
CCriticalSection cs_filter;
CBloomFilter* pfilter;