Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chain: use neutrino filters to speed up bitcoind seed recovery
In this commit, we use neutrino filters to speed up bitcoind seed recovery. We use the recently created `maybeShouldFetchBlock` function to check the filters to see if we need to fetch a block at all. This saves us from fetching, decoding, then scanning the block contents if we know nothing is present in them. At this point, we can also further consolidate the `FilterBlocks` methods between the two backends, as they're now identical.
- Loading branch information