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§

flat_filters_store
kv_filter_database
network_filters

Enums§

IterableFilterStoreError

Traits§

BlockFilterStore
A database that stores our compact filters
IterableFilterStore