Repository navigation
fix(windows-miner): default to https://50.28.86.131 and add /health check (#179) - #8678
Closed
satoshinakamoto666666 wants to merge 1 commit into
Conversation
Contributor
|
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! |
satoshinakamoto666666
force-pushed
the
fix-179-windows-miner-https-node-and-tls-fallback
branch
from
November 11, 2026 19:49
e7944d6 to
b331088
Compare
Owner
|
Thanks, but this makes the miner skip TLS verification by default and CI fails on the pinned checksum and installer tests, so I'm closing it. A version that keeps verification on (pinned cert or CA bundle) and updates the pinned checksum would be considered. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #179
Closes #179
Fixes #179
Closes #179
/claim #179
Summary — Windows Miner Bundle (
win-miner-2026-02) Live Test Report + Reproducible Bug Fix (#179)1. Live Windows Test Report (
https://50.28.86.131/health)Windows-11-10.0.26100-SP0,AMD64/x86_64, Python 3.13)https://50.28.86.131/health):HTTP 200 {"db_rw": true, "ok": true, "tip_age_slots": 0, "uptime_s": 1253620, "version": "2.2.1-rip200"}2. Reproducible Bug Found & Fixed (
+5 RTCBonus Patch Included)miners/windows/rustchain_windows_miner.py --headless --wallet RTCfe0ac752b80e543048c0d91e7dddd1277678b8a5on Windows with default arguments.RUSTCHAIN_APIis hardcoded to"http://50.28.86.131:8088"(Line 78), which is closed/filtered on the mainnet node (ConnectTimeoutError: Connection to 50.28.86.131:8088 timed out), causing every attestation and enrollment cycle to fail out-of-the-box unless--node https://50.28.86.131is manually supplied.~/.rustchain/config.jsonfiles from earlier installs retain"node_url": "http://50.28.86.131:8088".RUSTCHAIN_APIin bothminers/windows/rustchain_windows_miner.pyandminers/windows/installer/src/rustchain_windows_miner.pyto default toos.environ.get("RUSTCHAIN_API", "https://50.28.86.131")and added_normalize_node_url()to automatically migrate legacy"http://50.28.86.131:8088"URLs to"https://50.28.86.131".check_node_health()(GET {self.node_url}/health) and_tls_verify_setting()(RUSTCHAIN_CA_BUNDLE/RUSTCHAIN_VERIFY_TLS), updatedMINER_SHA256inminers/windows/rustchain_miner_setup.bat, and addedtests/test_windows_miner_node_health_179.py(3/3tests passing).