aboutsummaryrefslogtreecommitdiff
path: root/src/bloom.h
diff options
context:
space:
mode:
authorUser <naumenko.gs@gmail.com>2019-10-16 17:06:20 -0400
committerUser <naumenko.gs@gmail.com>2019-10-16 17:06:20 -0400
commit090b75c14be6b9ba2efe38a17d141c6e6af575cb (patch)
treea19fd9414b69ae3e0b5a5ac70804e5537e7c5539 /src/bloom.h
parentc34b88620dc8435b83e6744895f2ecd3c9ec8de7 (diff)
downloadbitcoin-090b75c14be6b9ba2efe38a17d141c6e6af575cb.tar.xz
p2p: Avoid allocating memory for addrKnown where we don't need it
Diffstat (limited to 'src/bloom.h')
-rw-r--r--src/bloom.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/bloom.h b/src/bloom.h
index 7d3aa878b0..c3f64ba4bc 100644
--- a/src/bloom.h
+++ b/src/bloom.h
@@ -115,9 +115,6 @@ public:
class CRollingBloomFilter
{
public:
- // A random bloom filter calls GetRand() at creation time.
- // Don't create global CRollingBloomFilter objects, as they may be
- // constructed before the randomizer is properly initialized.
CRollingBloomFilter(const unsigned int nElements, const double nFPRate);
void insert(const std::vector<unsigned char>& vKey);