Page MenuHomePhabricator

indexes: Add compact block filter headers cache
ClosedPublic

Authored by Fabien on Nov 19 2020, 14:38.

Details

Reviewers
deadalnix
Group Reviewers
Restricted Project
Commits
rABCa4c5ff8ec7a2: 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

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable