Merge bitcoin/bitcoin#19888: rpc, test: Improve getblockstats for unspendables#154
Merge bitcoin/bitcoin#19888: rpc, test: Improve getblockstats for unspendables#154DashCoreAutoGuix wants to merge 2 commits intobackport-0.25-batch-262from
Conversation
d885bb2 test: Test exclusion of OP_RETURN from getblockstats (Fabian Jahr) ba9d288 test: Fix getblockstats test data generator (Fabian Jahr) 2ca5a49 rpc: Improve getblockstats (Fabian Jahr) cb94db1 validation, index: Add unspendable coinbase helper functions (Fabian Jahr) Pull request description: Fixes bitcoin#19885 The genesis block does not have undo data saved to disk so the RPC errored because of that. ACKs for top commit: achow101: ACK d885bb2 aureleoules: ACK d885bb2 stickies-v: ACK d885bb2 Tree-SHA512: f37bda736ed605b7a41a81eeb4bfbb5d2b8518f847819e5d6a090548a61caf1455623e15165d72589ab3f4478252b00e7b624f9313ad6708cac06dd5edb62e9a
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Remove duplicate IsBIP30Repeat and IsBIP30Unspendable function definitions that were causing build failures. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
✅ Backport Verification - Issues FixedI found 1 critical issue and automatically applied a fix. Original Bitcoin commit: Issues Found and Fixed:
Verification Details:
Reviewer Feedback Analysis:Human comments reviewed: 0 (only coderabbit automated comment) CI Status:The 5 initial CI build failures were caused by the duplicate function definitions. With the fix applied, builds should now pass. Summary:This is a clean backport of Bitcoin Core PR bitcoin#19888 that improves The backport is faithful to the original Bitcoin change and includes appropriate Dash-specific adaptations (genesis block hash, fee units, etc.). 🤖 Generated with Claude Code |
❌ Backport Verification - Critical Issue DetectedOriginal Bitcoin commit: Critical Problembitcoin#19888 was already successfully backported in commit
Evidence of Duplicate Backport
Verification Details:
Recommended Actions:
This PR should be closed as it duplicates existing functionality and required fixes for build failures. |
Backports bitcoin#19888
Original commit: 5d9b530
Backported from Bitcoin Core v0.25
This PR improves the getblockstats RPC to handle unspendable coinbase outputs better. The changes include:
The backport required minimal adaptations:
🤖 Generated with Claude Code
Co-Authored-By: Claude noreply@anthropic.com