mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-03-28 08:25:59 +01:00
5646e6c0d3index: restrict index helper function to namespace (Martin Zumsande)032f3503e3index, refactor: deduplicate LookUpOne (Martin Zumsande)a67d3eb91dindex: deduplicate Hash / Height handling (Martin Zumsande) Pull request description: The logic for `DBHashKey` / `DBHeightKey` handling and lookup of entries is shared by `coinstatsindex` and `blockfilterindex`, leading to many lines of duplicated code. De-duplicate this by moving the logic to `index/db_key.h` (using templates for the index-specific `DBVal`). ACKs for top commit: fjahr: re-ACK5646e6c0d3furszy: utACK5646e6c0d3sedited: ACK5646e6c0d3Tree-SHA512: 6f41684d6a9fd9bb01239e9f2e39a12837554f247a677eadcc242f0c1a2d44a79979f87249c4e0305ef1aa708d7056e56dfc40e1509c6d6aec2714f202fd2e09