changeset 23715:638b30bb60c8

Added LogPrint for size of seeded bloom filter
author Peter Tschipper <peter.tschipper@gmailcom>
date Wed, 02 Mar 2016 10:19:28 -0800
parents 5fb3536615a8
children c91947e22798
files src/unlimited.cpp
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/unlimited.cpp	Mon Feb 29 13:15:11 2016 -0800
+++ b/src/unlimited.cpp	Wed Mar 02 10:19:28 2016 -0800
@@ -538,6 +538,7 @@
     mempool.queryHashes(vMemPoolHashes);
     for (uint64_t i = 0; i < vMemPoolHashes.size(); i++)
          filterMemPool.insert(vMemPoolHashes[i]);
+    LogPrint("thin", "Created bloom filter: %d bytes\n",::GetSerializeSize(filterMemPool, SER_NETWORK, PROTOCOL_VERSION));
 }
 
 void LoadFilter(CNode *pfrom, CBloomFilter *filter)