Javascript implementation of the Ethereum bloom filter
npm install eth-bloomfilter
const EBF = require('eth-bloomfilter')
const filter = new EBF()
filter.add(Buffer.from('hi'))
filter.has(Buffer.from('hi'))
Make a new bloom filter.
The underlying 256 byte buffer containing the filter
Add a buffer to the filter
Check if a buffer is in the filter
MIT