lightning-terminal/db/tombstone
Viktor Torstensson 27eba1e5c1
db: unify kvdb file existence checks
Add a tombstone helper for checking whether a legacy kvdb file exists on
disk, without inspecting any tombstone state inside the database.

Use this helper in the tombstone deprecation and activity checks so
missing-file handling is centralized in one place instead of being
reimplemented in each function.

We also export this helper function, as we'll use it in the upcoming
commit which checks if the legacy any bbolt database file exists before
attempting to migrate it.
2026-06-16 20:59:56 +02:00
..
tombstone.go db: unify kvdb file existence checks 2026-06-16 20:59:56 +02:00