-
Notifications
You must be signed in to change notification settings - Fork 0
Merge bitcoin/bitcoin#27549: fuzz: addrman, add coverage for network field in Select(), Size() and GetAddr()
#468
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: backport-0.26-batch-438
Are you sure you want to change the base?
Conversation
dash#6775 updates UniValue, which changed the syntax for fetching integers, which created a divergence of expected behavior from dash#6691
|
Warning Rate limit exceeded@PastaPastaPasta has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 26 minutes and 32 seconds before requesting another review. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. 📒 Files selected for processing (2)
✨ Finishing Touches
🧪 Generate unit tests
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 (
|
✅ Backport Verification - Issues FixedI found and fixed 1 issue:
Original Bitcoin commit: The build failures were caused by outdated UniValue API method calls. The fix updates the API calls to match Dash's UniValue implementation and should resolve all CI build issues. |
✅ Backport Verification - Issues FixedI found and fixed 1 issue:
Original Bitcoin commit: Analysis Summary
Issues Addressed
The backport now faithfully implements Bitcoin's addrman fuzz testing improvements while maintaining compatibility with Dash's codebase. |
✅ Backport Verification SuccessfulNo issues found! This backport is complete and faithful to the original Bitcoin change. Analysis Summary
CI AnalysisThe single CI failure (
Validation Results✅ No witness/segwit code - Clean This PR is ready for merge. ✅ |
…nd dash#6775, compile error 0b8fe88 chore: resolve logical conflict between dash#6691 and dash#6775 (Kittywhiskers Van Gogh) Pull request description: ## Additional Information [dash#6691](dashpay#6691) and [dash#6775](dashpay#6775) were merged into `develop` in that order, neither conflicting with the other. [dash#6775](dashpay#6775) updated the UniValue subtree before it was unsubtree'd and subsequent improvements were backported. To enable this, a syntax change was required which replaced `get_int()` with `getInt<int>()`, which, the code introduced in [dash#6691](dashpay#6691) didn't use as it was merged _before_ [dash#6775](dashpay#6775). As it was new code, this was not registered as a merge conflict but this logical conflict caused `develop` to fail ([build](https://github.com/dashpay/dash/actions/runs/16546102266)). This pull request remedies that issue. ## Breaking Changes None expected ## Checklist - [x] I have performed a self-review of my own code - [x] I have commented my code, particularly in hard-to-understand areas **(note: N/A)** - [x] I have added or updated relevant unit/integration/functional/e2e tests - [x] I have made corresponding changes to the documentation **(note: N/A)** - [x] I have assigned this pull request to a milestone _(for repository code-owners and collaborators only)_ ACKs for top commit: UdjinM6: utACK 0b8fe88 knst: utACK 0b8fe88 Tree-SHA512: 7af4599e38bca5d776766cd8a2acda46d046f5dfe9f9c45586ac1f27fc709bd6ac913709b2c24d133ab57bbf2a6d5cb0630d0e874f62a472e173d61ced2face0
…in `Select()`, `Size()` and `GetAddr()` 35a2175 fuzz: addrman, add coverage for `network` field in `Select()`, `Size()` and `GetAddr()` (brunoerg) Pull request description: This PR adds fuzz coverage for `network` field in `Select()`, `Size()` and `GetAddr()`, there was only call to them without passing a network. https://marcofalke.github.io/b-c-cov/fuzz.coverage/src/addrman.cpp.gcov.html ACKs for top commit: amitiuttarwar: for the record, ACK 35a2175 - only small changes from the version (previously) proposed in 27213 achow101: ACK 35a2175 mzumsande: Code Review ACK 35a2175, haven't tested this yet, but I will let the fuzzer run for a while now. Tree-SHA512: dddb8322298d6c373c8e68d57538470b11825a9a310a355828c351d5c0b19ff6779d024a800e3ea90126d0c050e86f71fd22cd23d1a306c784cef0f82c45e3ca
6319688 to
8bb8cfd
Compare
✅ Verification Complete - APPROVEDBitcoin Commit
Verification Results✅ CI Status: All 51 checks passed AnalysisThe main backport commit faithfully adapts bitcoin#27549, adding fuzz coverage for the The additional fix commit (
ConclusionThis PR is a faithful backport with appropriate fixes applied. All checks pass and the code is ready to merge. Automated verification by Claude Code |
Backports bitcoin#27549
Original commit: ee467b8
Backported from Bitcoin Core v0.26