diff options
| author | Adam Soltys <[email protected]> | 2026-06-27 08:49:09 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-06-27 08:49:09 -0700 |
| commit | 1d0c1c9bfb9ccfb8a28e0cf147af12c37655cdcc (patch) | |
| tree | 443c23a9320f4e1d494e51e2a13e6f3acaf4f426 /src/electrum.js | |
| parent | a9a903e7a1f80ed4a6f4163419b25d4e6de5db01 (diff) | |
| download | coinosv3-1d0c1c9bfb9ccfb8a28e0cf147af12c37655cdcc.tar.gz coinosv3-1d0c1c9bfb9ccfb8a28e0cf147af12c37655cdcc.zip | |
Regtest realtime via a local Electrum-over-WebSocket bridge
On regtest there's no realtime push (coinos watcher is mainnet-only), so the UI
only updated on the 5–10s poll — a funded tx took a while to appear and a
just-mined block stayed "pending" until the next reconcile. electrs speaks the
Electrum protocol the watcher already understands, but only over TCP; route it
through a small WS<->TCP bridge (see coinos-server/electrum-ws) so the wallet
subscribes scripthashes and reconciles instantly on each notification. Data
still comes from esplora; this only adds the push channel. Configurable in
Settings (default ws://localhost:50003); falls back to polling if unreachable.
Co-Authored-By: Claude Opus 4.8 <[email protected]>
Diffstat (limited to 'src/electrum.js')
0 files changed, 0 insertions, 0 deletions
