Skip to content

Add Electrum TLS certificate approvals with adapter 5 timeouts - #1508

Draft
julian-CStack wants to merge 1 commit into
stagingfrom
electrumx-tls
Draft

julian-CStack wants to merge 1 commit into
stagingfrom
electrumx-tls

Conversation

@julian-CStack

Copy link
Copy Markdown
Collaborator

Allow users to review and approve untrusted Electrum certificates per endpoint. Persist approvals, propagate separate primary/failover certificates, and retire connections when approvals change. Guard stale tests and node-form replacement.

Integrate electrum_adapter 5.0.0 with bounded setup, subscription lifecycle handling, setup failover, and caller-specific request deadlines. History and broadcast requests default to five minutes; Firo set requests use two minutes. Broadcasts retain existing send/retry behavior with a longer per-attempt deadline.

Allow users to review and approve untrusted Electrum certificates per endpoint.
Persist approvals, propagate separate primary/failover certificates, and retire
connections when approvals change. Guard stale tests and node-form replacement.

Integrate electrum_adapter 5.0.0 with bounded setup, subscription lifecycle
handling, setup failover, and caller-specific request deadlines. History and
broadcast requests default to five minutes; Firo set requests use two minutes.
Broadcasts retain existing send/retry behavior with a longer per-attempt deadline.

Validation: 246 tests across 36 suites passed. Analysis of 45 changed Dart files
found no errors; existing warnings/lint findings remain. All changed Dart files
pass formatting checks. Production dependency pins resolved without overrides.
@codecov

codecov Bot commented Nov 11, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 78.49873% with 169 lines in your changes missing coverage. Please review.
✅ Project coverage is 15.05%. Comparing base (e93f052) to head (5425bea).
⚠️ Report is 6 commits behind head on staging.

Files with missing lines Patch % Lines
...gs_view/manage_nodes_views/add_edit_node_view.dart 62.73% 60 Missing ⚠️
...ngs_view/manage_nodes_views/node_details_view.dart 68.67% 26 Missing ⚠️
lib/utilities/test_node_connection.dart 0.00% 17 Missing ⚠️
lib/services/node_service.dart 86.36% 15 Missing ⚠️
lib/widgets/node_card.dart 50.00% 12 Missing ⚠️
lib/utilities/node_change_notifier.dart 46.66% 8 Missing ⚠️
lib/utilities/test_monero_node_connection.dart 30.00% 7 Missing ⚠️
lib/widgets/node_options_sheet.dart 78.57% 6 Missing ⚠️
lib/electrumx_rpc/electrumx_client.dart 96.29% 5 Missing ⚠️
lib/electrumx_rpc/client_manager.dart 91.66% 4 Missing ⚠️
... and 6 more
Additional details and impacted files
@@             Coverage Diff             @@
##           staging    #1508      +/-   ##
===========================================
+ Coverage    14.01%   15.05%   +1.04%     
===========================================
  Files         1139     1144       +5     
  Lines       114724   115036     +312     
===========================================
+ Hits         16078    17324    +1246     
+ Misses       98646    97712     -934     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant