Comment Comment by nly I feel the use of vector<bool> is an iffy choice.The Bitcoin codebase has a simple Bloom filter implementation you can take a look at that has been in use for some timehttps://github.com/bitcoin/bitcoin/blob/master/src/bloom.hhttps://github.com/bitcoin/bitcoin/blob/master/src/bloom.cpp parent nly 10 years ago
The Bitcoin codebase has a simple Bloom filter implementation you can take a look at that has been in use for some time
https://github.com/bitcoin/bitcoin/blob/master/src/bloom.h
https://github.com/bitcoin/bitcoin/blob/master/src/bloom.cpp