AI-generated analysisPublished automatically and not human-verified. Validated context appears in community notes below.
← Watch feed
Informational 17 Bitcoin

bkpr: add in-mem & datastore storage for external blockheights.

Public commit record

What the developer wrote

Authored by Rusty Russell

73/100 · Adequate
bkpr: add in-mem & datastore storage for external blockheights.

We won't be able to "UPDATE chain_events", so keep a separate record
of these blockheights, and lookup that when the blockheight is 0.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context
The short version

What changed, and why it matters

This commit changes the bookkeeper plugin so it no longer updates existing on-chain event records when it learns a transaction's real block height. Instead, it stores those heights in a separate in-memory hash table and the node's datastore. This is a bookkeeping refactor, not a security fix. There is no direct evidence in the commit that it addresses an exploitable vulnerability.

Recommended action

No immediate security action required. Treat as a normal refactor. If reviewing for correctness, verify that the datastore-backed blockheight lookup correctly handles persistence across restarts and that concurrent create-or-replace datastore writes cannot corrupt the map.

Security signals we found

01

No security-relevant keywords in commit title or message

02

No CVE, advisory, or attribution references in commit

03

Change is localized to bookkeeper plugin accounting data

04

Datastore writes use create-or-replace mode

05

No input validation changes beyond existing hex/txid parsing

Risk score

Why this scored 17/100

Our methodology →
Potential impact 2/30
Exploitability 1/25
Stealth signal 1/15
Affected reach 2/15
Confidence 8/10
Evidence quality 3/5
Human-validated context

Community notes

Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.

No validated notes yet.

The AI analysis stands alone for now. Submit a note if you can add evidence or important context.