forked from bitcoin/bitcoin
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
index: add start_height to base index
This allows indexing to start from a specified start_height (default 0). This is particularly useful for blockfilter indexes in that a new filter type could be defined where the filter is only relevant after a certain block height (e.g. a filter for only taproot scriptPubKeys). Although this is currently not possible, start_height would also be needed if we wanted to enable an index in pruned mode (e.g. having a txindex for recent blocks). Co-Authored-by: Fabian Jahr <fjahr@protonmail.com>
- Loading branch information
Showing
2 changed files
with
17 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters