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

rpc: Calculate ancestor data from scratch for mempool rpc calls

Public commit record

What the developer wrote

Authored by Suhas Daftuar

50/100 · Thin
rpc: Calculate ancestor data from scratch for mempool rpc calls
✓ Specific, descriptive subject✓ Names a concrete action or component! No meaningful explanatory body
The short version

What changed, and why it matters

This Bitcoin Core change alters how mempool RPC calls (such as getrawmempool and getmempoolentry) report ancestor data. Previously, the node reused cached ancestor statistics stored with each transaction. Now it recalculates those numbers from scratch every time the RPC is called. The likely reason is that the cached ancestor values can become stale or inconsistent after certain mempool operations, which could cause RPC responses to show incorrect counts, sizes, or fees for a transaction's chain of unconfirmed ancestors. There is no direct evidence in the commit of an exploitable security vulnerability, but inconsistent mempool accounting can mislead wallets, fee estimators, or monitoring tools.

Recommended action

Treat as a correctness/reliability improvement rather than an urgent security patch. Node operators and developers relying on ancestorcount/ancestorsize/ancestor fees in mempool RPCs should upgrade to avoid acting on stale data. If you maintain fee estimation or transaction-selection tooling that consumes these fields, verify behavior after the upgrade. No immediate emergency response is warranted absent additional disclosure.

Security signals we found

01

Change from cached to freshly computed mempool ancestor data in RPC output

02

Only ancestor fields modified; descendant fields still use cached values

03

No explicit bug fix description or CVE reference in commit message

04

Small, targeted change in a single RPC serialization function

Risk score

Why this scored 31/100

Our methodology →
Potential impact 8/30
Exploitability 5/25
Stealth signal 4/15
Affected reach 6/15
Confidence 5/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.