Repository navigation
chore: refresh mainnet evonode lists and document how to update them - #46
Conversation
fetch_document.rs now lists all 362 valid, non-banned mainnet Evo nodes from protx list (Platform HTTPS on 443). check_all_nodes_mainnet_test, run against a fully synced local Dash Core, passed 350 of them; those 350 replace the 127 nodes in config.rs (22 removed, 245 added). The 12 failures were node-side: "no healthy upstream" (4), unknown gRPC error (4), clock skew beyond tolerance (2), expired TLS certificate (1) and TCP connect failure (1). Adds scripts/evonodes.sh and docs/updating-evonode-lists.md so the next refresh is repeatable. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
Test results: mainnet, Android emulatorsThe new list removes the nodes that cause trouble in the field. Over a morning of use, a build with the old list hit 6 of the 22 removed nodes, and one of them stalled the contacts sync for 74 s. A build with this PR used 53 different nodes from the new list and never reached a node outside it. Builds
Both apps had a DashPay identity and ran against mainnet: launch, identity restore, the routine contacts and profiles sync, and DashConnect logins. Results
Every ban on the new-list build was one we caused deliberately: we blocked 5 working nodes to test #45. Removed nodes the old-list build hit:
These match the probe results used to build the list: 8 of the removed nodes don't respond at all, 6 refuse connections, and 7 now run a web server that isn't a Platform node. The fast failures cost under a second each before the SDK banned the node and retried. The non-responding node is the expensive one: without #45, each time it's picked it can stall a request for over a minute. How the list was builtAs in the PR description, Not covered
|
- evonodes.sh runs under bash and finds Dash Core's data dir from DASHCORE_DIR, else the macOS or Linux (~/.dashcore) default. - The usage text no longer prints the `set -e` line. - Each mainnet list carries a "Refreshed" comment with the date and counts; the doc says to update it on every refresh. Co-Authored-By: Claude Opus 5.5 <[email protected]>
When Core was unreachable, the data dir was wrong or the credentials were bad, `list` printed nothing and exited 0, and `write` then turned the empty file into `MAINNET_ADDRESS_LIST: [&str; 0]`, which compiles. - rpc() reports a missing .cookie/dash.conf, an unreachable Core, an empty (unauthorised) reply or an RPC error, and returns non-zero. - pipefail, plus `list` and `passing` fail when they produce no IPs. - `write` refuses an empty IP file or a line that isn't IPv4, and leaves the Rust file untouched. - The doc notes Core 23+ (for `addresses.platform_https`) and the new failure behaviour. Co-Authored-By: Claude Opus 5.5 <[email protected]>
* chore: prepare 5.0.2 Maven Central release 5.0.2 = 5.0.1 + #45 (SDK timeouts passed in seconds) and #46 (refreshed mainnet evonode lists). Same Platform pin (platform-revision.txt) and dashj 24.0.0 as 5.0.1. Co-Authored-By: Claude Opus 5.5 <[email protected]> * chore: set dash-sdk-bindings and platform-mobile crate versions to 5.0.2 The release commit bumped only the Android bindings crate. The desktop dash-sdk-bindings crate was still 5.0.1 and platform-mobile had stayed at 4.0.1 since that release. No code reads these versions, so the published 5.0.2 artifacts are unaffected; this keeps the repo consistent. Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
Summary
fetch_document.rs:MAINNET_ADDRESS_LISTis now every valid, non-banned mainnet Evo node fromprotx list valid true(362, Platform HTTPS on port 443).config.rs:MAINNET_ADDRESS_LISTis now the 350 nodes that passedcheck_all_nodes_mainnet_test(was 127: 22 removed, 245 added, 105 kept). One IP per line so future diffs are reviewable.docs/updating-evonode-lists.mdandscripts/evonodes.shdescribe and script the refresh: query Core, write the candidate list, run the check, write the passing nodes intoconfig.rs.// Refreshed 2026-11-24 …comment with its counts; the doc says to update it on every refresh.scripts/evonodes.shruns under bash on macOS or Linux (Core's data directory fromDASHCORE_DIR, else the OS default) and needs Dash Core 23+. It fails with a clear error, instead of printing an empty list, when Core is unreachable or the credentials are wrong, andwriterefuses an empty or malformed IP file, so a broken run can't produce an emptyMAINNET_ADDRESS_LIST.Test
check_all_nodes_mainnet_testagainst a fully synced local Dash Core (block 2,577,989, masternode sync finished): 350 passed, 12 failed. All failures were node-side:no healthy upstreamcargo check --lib --testspasses.scripts/evonodes.shwas exercised against a synced mainnet Core (status,list,passing,write) and against a missing data directory, a stopped Core, wrong credentials, and empty or malformed IP files; each failure case exits 1 and leaves the Rust files untouched.🤖 Generated with Claude Code