From 4811239da9750a5e6be5e0af95678317b7be0c9f Mon Sep 17 00:00:00 2001 From: Ben Vandervalk Date: Tue, 16 Oct 2018 16:38:20 -0700 Subject: [PATCH] abyss-sealer: show Bloom filter loading progress when verbose >= 2 --- Sealer/sealer.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sealer/sealer.cc b/Sealer/sealer.cc index ac3da6b9b..8c3bab928 100644 --- a/Sealer/sealer.cc +++ b/Sealer/sealer.cc @@ -1055,10 +1055,10 @@ int main(int argc, char** argv) #ifdef _OPENMP ConcurrentBloomFilter cbf(*cascadingBloom, 1000); for (int i = optind; i < argc; i++) - Bloom::loadFile(cbf, opt::k, argv[i], 0 /*opt::verbose*/); + Bloom::loadFile(cbf, opt::k, argv[i], opt::verbose >= 2); #else for (int i = optind; i < argc; i++) - Bloom::loadFile(*cascadingBloom, opt::k, argv[i], 0 /* opt::verbose*/); + Bloom::loadFile(*cascadingBloom, opt::k, argv[i], opt::verbose >= 2); #endif bloom = &cascadingBloom->getBloomFilter(opt::max_count - 1); }