Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: pbies on February 18, 2023, 11:16:00 PM



Title: Bloom filter - brainflayer
Post by: pbies on February 18, 2023, 11:16:00 PM
What is the proper way to generate bloom filter (.blf file) for brainflayer program?


Title: Re: Bloom filter - brainflayer
Post by: ymgve2 on February 19, 2023, 02:07:04 AM
Use the hex2blf program included with brainflayer


Title: Re: Bloom filter - brainflayer
Post by: bigvito19 on February 19, 2023, 02:10:34 AM
What is the proper way to generate bloom filter (.blf file) for brainflayer program?


hex2blf example.hex example.blf   Linux


hex2blf.exe example.hex example.blf   Windows




Title: Re: Bloom filter - brainflayer
Post by: pbies on February 19, 2023, 03:33:17 AM
Yes, done that but for this file in effect brainflayer does not find keys which it should find. :(

EDIT:

Solved that!

I used bitcoin-tool to convert public addresses to hash160 hex file.
Needed to use brainflayer instead of bitcoin-tool for conversion.
Bitcoin-tool somewhat badly converts.