aboutsummaryrefslogtreecommitdiffstats
path: root/src/electrum.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-06-27 08:49:09 -0700
committerAdam Soltys <[email protected]>2026-06-27 08:49:09 -0700
commit1d0c1c9bfb9ccfb8a28e0cf147af12c37655cdcc (patch)
tree443c23a9320f4e1d494e51e2a13e6f3acaf4f426 /src/electrum.js
parenta9a903e7a1f80ed4a6f4163419b25d4e6de5db01 (diff)
downloadcoinosv3-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