feat: improve logging of non-existing destinations for masternode payment#6740
Conversation
WalkthroughThe change updates the error handling logic in the 📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🧰 Additional context used🧠 Learnings (2)📓 Common learningssrc/masternode/payments.cpp (5)🔇 Additional comments (1)
✨ Finishing Touches
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 (
|
…s for masternode payment e9f292d feat: improve logging of non-existing destinations for masternode payment (Konstantin Akimov) Pull request description: ## Issue being fixed or feature implemented In case if destination is invalid for cbtx, the logs are missing ## What was done? Improved logs for case if invalid destination ## How Has This Been Tested? N/A ## Breaking Changes N/A ## Checklist: - [x] I have performed a self-review of my own code - [ ] I have commented my code, particularly in hard-to-understand areas - [ ] I have added or updated relevant unit/integration/functional/e2e tests - [ ] I have made corresponding changes to the documentation - [x] I have assigned this pull request to a milestone ACKs for top commit: UdjinM6: utACK e9f292d kwvg: utACK e9f292d Tree-SHA512: 990aadceff00bd964dbe9b8da292779ac15bba347688b655a64250c257b137511afdc6301010459c5d6287f3464922fffb5745789633dd690778e8c770d8095c
9ec8e66 docs: add v22.1.3 release notes and archive v22.1.2 (pasta) 95c2a0e chore: bump version to v22.1.3 (pasta) 3345046 chore: update chainparams for v22.1.3 release (pasta) 1db850a Merge #6632: perf: versionbits avoid calculation which is not used (pasta) 4173e3c Merge #6739: docs: Fix broken links from translation instructions and a typo (pasta) 9eda785 Merge #6740: feat: improve logging of non-existing destinations for masternode payment (pasta) 47b6826 Merge #6744: fix: remove useless but alarming log record about spent information (pasta) Pull request description: ## Issue being fixed or feature implemented Backports for a new version, v22.1.3 ## What was done? See release notes ## How Has This Been Tested? ## Breaking Changes None ## Checklist: - [x] I have performed a self-review of my own code - [ ] I have commented my code, particularly in hard-to-understand areas - [ ] I have added or updated relevant unit/integration/functional/e2e tests - [ ] I have made corresponding changes to the documentation - [x] I have assigned this pull request to a milestone _(for repository code-owners and collaborators only)_ ACKs for top commit: UdjinM6: utACK 9ec8e66 kwvg: utACK 9ec8e66 Tree-SHA512: 9e94b472c32f87c46d60fe53bcec59cb2ec1823e56cfbc2fe4a07d476e1c576c0d7f0c54115aeca902767651591556d68c8e81b81ac9bd12bc5291fa17f5a768
9ec8e66 docs: add v22.1.3 release notes and archive v22.1.2 (pasta) 95c2a0e chore: bump version to v22.1.3 (pasta) 3345046 chore: update chainparams for v22.1.3 release (pasta) 1db850a Merge #6632: perf: versionbits avoid calculation which is not used (pasta) 4173e3c Merge #6739: docs: Fix broken links from translation instructions and a typo (pasta) 9eda785 Merge #6740: feat: improve logging of non-existing destinations for masternode payment (pasta) 47b6826 Merge #6744: fix: remove useless but alarming log record about spent information (pasta) Pull request description: ## Issue being fixed or feature implemented ## What was done? ## How Has This Been Tested? ## Breaking Changes n/a ## Checklist: - [ ] I have performed a self-review of my own code - [ ] I have commented my code, particularly in hard-to-understand areas - [ ] I have added or updated relevant unit/integration/functional/e2e tests - [ ] I have made corresponding changes to the documentation - [ ] I have assigned this pull request to a milestone _(for repository code-owners and collaborators only)_ ACKs for top commit: PastaPastaPasta: utACK 2527ca5 kwvg: utACK 2527ca5 Tree-SHA512: 3ecf4f26a816db6be797208ce5d519b8c3571a4aae832d8a1dcf41add4cc48d102459302e1777786b19f577c0a3222d77ce490e2301e73963d6021e2cdc2ad86
Issue being fixed or feature implemented
In case if destination is invalid for cbtx, the logs are missing
What was done?
Improved logs for case if invalid destination
How Has This Been Tested?
N/A
Breaking Changes
N/A
Checklist: