Skip to content

Coins Cache Cleanup checklist #34280

@l0rinc

Description

@l0rinc

The coins cache (the CCoinsView* stack, CCoinsViewCache, and friends) is a correctness and performance critical part of validation, IBD, and assumeutxo.
Over time it has accumulated subtle invariants and legacy states (for example around cache entry flags, spent coin handling, and error catching), and we have been chipping away at it through focused refactors, bugfixes, tests, and performance work.

This issue tracks coins-cache-related work to simplify reviewers finding the other related PRs.

IRC context: https://bitcoin-irc.chaincode.com/bitcoin-core-dev/2026-01-08

PRs needing review

Coins cache cleanup and validation refactors

Adjacent IBD and performance work (related)

Bench and tooling (supporting work)

Merged PRs

Related context and superseded attempts (reference)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Tracking IssueTracks longer-running projects and releases. Gathers TODOs, issues, PRs, and status updates.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions