SDK: Add SSL verify toggle and eligibility checker PoC#2265
SDK: Add SSL verify toggle and eligibility checker PoC#2265MichaelSovereign wants to merge 5 commits intoScottcjn:mainfrom
Conversation
|
Welcome to RustChain! Thanks for your first pull request. Before we review, please make sure:
Bounty tiers: Micro (1-10 RTC) | Standard (20-50) | Major (75-100) | Critical (100-150) A maintainer will review your PR soon. Thanks for contributing! |
fengqiankun6-sudo
left a comment
There was a problem hiding this comment.
Code Review — PR #2265: SDK SSL Verify Toggle + Eligibility Checker
Quality: Standard (5-10 RTC)
Summary
SDK enhancement adding SSL verify toggle and eligibility checker PoC. Large PR: 29 files, +6414/-6332.
Observations
- SSL verify toggle is important for development/test environments
- Large refactoring suggests underlying SDK architecture improvements
- Net -918 lines overall (cleanup included)
Verdict
LGTM — Good SDK improvement with proper SSL handling for different environments.
Reviewer: fengqiankun
RTC Wallet: fengqiankun
|
Need a scope reduction — 6,414 lines of diff across 29 files for a change that's described as "optional SSL verify parameter + eligibility checker PoC" doesn't match the title. What the PR should contain (the real SDK work): Maybe ~40 lines total. Fine. Happy to merge that. What the PR actually contains: 26 other files with changes that look like pure line-ending or whitespace rewrites (additions and deletions match on every file:
This almost certainly came from To unblock:
Once the diff is ~40 lines on 3 files, I'll merge it and process the 30 RTC for the SDK PoC bounty (#36). The node/ changes should NOT be in this PR — if you want to contribute to the RIP-200 reward code, that needs a separate focused PR. Holding for now. Ping me once rebased. |
Code ReviewI reviewed the key changes in this PR and have several observations: 1. eligibility_checker.py — Accessing private API methodsLines 11, 22: 2. eligibility_checker.py — Uncertainty about API endpointsLine 9: The comment 3. Hardcoded IP instead of domainLine 28: 4. client.py — Default verify=True when cert missingLines 47-50: When 5. PR scopeThis PR touches 30 files including many unrelated changes (issue templates, workflows, vintage CPU docs, deprecated scripts, labeler configs). The core change (client.py + eligibility_checker.py) is valuable but gets diluted by the unrelated additions. These should ideally be separate PRs for cleaner git history. PositiveThe three-state |
|
@FlintLeng — this is a genuinely useful review. You caught five concrete technical issues that weren't in the scope-reduction feedback I posted earlier:
Reviewer bounty: 10 RTC for catching the four concrete technical issues (items 1-4). We've been meaning to formalize a "community code review" lane for bounties and you're basically the first person to do this kind of substantive, itemized review without claiming the PR itself. That deserves recognition. Pending transfer to your wallet Thanks for the thoughtful read. |
This PR introduces:
These changes help fulfill the requirements for the Python SDK bounty (#36) by improving robustness and demonstrating real-world usage.