backport: auto 20251202#7028
Conversation
Co-authored-by: fanquake <fanquake@gmail.com>
Co-authored-by: fanquake <fanquake@gmail.com>
…, gettransaction and getwalletinfo (dashpay#1182) Co-authored-by: Andrew Chow <github@achow101.com>
✅ No Merge Conflicts DetectedThis PR currently has no conflicts with other open PRs. |
WalkthroughThis pull request introduces a "lastprocessedblock" field containing the last processed block hash and height to three wallet RPC calls (getbalances, gettransaction, getwalletinfo). A new utility function AppendLastProcessedBlock is added to populate this field consistently. Additionally, the systemd service file is updated to use Type=notify instead of Type=forking with corresponding startup and shutdown notification directives, and minor documentation updates are made to protocol.h describing MEMPOOL and NODE_BLOOM flags. Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes
Pre-merge checks and finishing touches❌ Failed checks (1 warning, 1 inconclusive)
✅ Passed checks (1 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (10)
🧰 Additional context used📓 Path-based instructions (4){guix-build*,releases,**/guix-build*,releases/**,.github/**,depends/**,ci/**,contrib/**,doc/**}📄 CodeRabbit inference engine (CLAUDE.md)
Files:
src/**/*.{cpp,h,hpp,cc}📄 CodeRabbit inference engine (CLAUDE.md)
Files:
src/wallet/**/*.{cpp,h}📄 CodeRabbit inference engine (CLAUDE.md)
Files:
test/functional/**/*.py📄 CodeRabbit inference engine (CLAUDE.md)
Files:
🧠 Learnings (7)📓 Common learnings📚 Learning: 2025-08-08T07:01:47.332ZApplied to files:
📚 Learning: 2025-11-24T16:41:22.457ZApplied to files:
📚 Learning: 2025-11-24T16:41:22.457ZApplied to files:
📚 Learning: 2025-02-14T15:19:17.218ZApplied to files:
📚 Learning: 2025-06-09T16:43:20.996ZApplied to files:
📚 Learning: 2025-06-20T23:32:16.225ZApplied to files:
🧬 Code graph analysis (4)src/wallet/rpc/util.h (1)
src/wallet/rpc/wallet.cpp (2)
src/wallet/rpc/coins.cpp (2)
test/functional/wallet_balance.py (1)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (10)
🔇 Additional comments (17)
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. Comment |
| -conf=/etc/dash/dash.conf \ | ||
| -datadir=/var/lib/dashd \ | ||
| -startupnotify='systemd-notify --ready' \ | ||
| -shutdownnotify='systemd-notify --stopping' |
There was a problem hiding this comment.
nit: 25975: align with -pid
| -conf=/etc/dash/dash.conf \ | |
| -datadir=/var/lib/dashd \ | |
| -startupnotify='systemd-notify --ready' \ | |
| -shutdownnotify='systemd-notify --stopping' | |
| -conf=/etc/dash/dash.conf \ | |
| -datadir=/var/lib/dashd \ | |
| -startupnotify='systemd-notify --ready' \ | |
| -shutdownnotify='systemd-notify --stopping' |
Issue being fixed or feature implemented
batch of automated backports
What was done?
Small batch of auto backports
How Has This Been Tested?
CI
Breaking Changes
Checklist: