Crate floresta_compact_filters
source ·Expand description
A library for building and querying BIP-158 compact block filters locally
This lib implements BIP-158 client-side Galomb-Rice block filters, without relaying on p2p connections to retrieve them. We use this to speedup wallet resyncs and allow arbitrary UTXO retrieving for lightning nodes.
This module should receive blocks as we download them, it’ll create a filter for it. Therefore, you can’t use this to speedup wallet sync before IBD, since we wouldn’t have the filter for all blocks yet.
Modules
Enums
Traits
- A database that stores our compact filters