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

rpc: return prunable hashes in pruned getblocks

Public commit record

What the developer wrote

Authored by akildemir

45/100 · Thin
rpc: return prunable hashes in pruned getblocks

Co-authored-by: selsta <selsta@sent.at>
✓ Descriptive subject✓ Names a concrete action or component! No meaningful explanatory body
The short version

What changed, and why it matters

This commit changes how Monero's daemon returns blocks when a remote caller asks for pruned (trimmed-down) block data. Previously, pruned responses omitted a hash for the prunable part of each transaction. Now the daemon fetches and returns that prunable hash alongside the pruned transaction blob. This is a protocol/data-integrity improvement, not an obvious remote exploit, but it touches the RPC layer and changes the data structure passed between the database, core, and RPC server.

Recommended action

Review the RPC wire-format compatibility and serialization of the new prunable_hash field to ensure it does not break existing clients or introduce parsing issues. Verify that the LMDB cursor handling for txs_prunable_hash correctly handles missing entries and does not leak uninitialized memory. Consider whether this change requires a protocol version bump or release note.

Security signals we found

01

RPC data-format change for pruned block responses

02

Database cursor addition for txs_prunable_hash in pruned mode

03

Transaction container changed from pair to tuple across DB, blockchain core, and RPC layers

04

No input validation or bounds-checking changes visible in the diff

05

No explicit security context in commit message or title

Risk score

Why this scored 26/100

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