HomePhabricator

indexes: Add compact block filter headers cache

Description

indexes: Add compact block filter headers cache

Summary:

Cache block filter headers at heights of multiples of 1000 in memory.

Block filter headers at height 1000x are checkpointed, and will be the
most frequently requested. Cache them in memory to avoid costly disk
reads.

Backport of core PR18960.

Depends on D8463.

Test Plan:

ninja all check-all

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

Differential Revision: https://reviews.bitcoinabc.org/D8464

Details

Provenance
John Newbery <john@johnnewbery.com>Authored on May 11 2020, 02:28
FabienCommitted on Nov 19 2020, 17:03
FabienPushed on Nov 19 2020, 17:04
Reviewer
Restricted Project
Differential Revision
D8464: indexes: Add compact block filter headers cache
Parents
rABC3ca37803e05b: Serve cfcheckpt requests
Branches
Unknown
Tags
Unknown