aboutsummaryrefslogtreecommitdiffstats
path: root/src/wallet.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-06-26 09:03:49 -0700
committerAdam Soltys <[email protected]>2026-06-26 09:03:49 -0700
commiteef3193729ccea2c3d712cda9381c24325fac260 (patch)
treedd22d714a3667773a73fc42e3b0a88b3171bdbae /src/wallet.js
parent190c849cf9ce1c09501fedea33020098c8026c1d (diff)
downloadcoinosv3-eef3193729ccea2c3d712cda9381c24325fac260.tar.gz
coinosv3-eef3193729ccea2c3d712cda9381c24325fac260.zip
Fold the coinos opt-out into a single Data source picker
Replace the Esplora|Electrum backend toggle plus the separate 'Instant notifications' on/off with one 'Data source' selector: • coinos (instant) — default; explorer data + coinos push • Block explorer — REST + polling, nothing sent to coinos (the opt-out) • Electrum server — one WS server for data + push (your node / public) Picking a non-coinos source IS the privacy opt-out, so the standalone toggle is gone. A single 'mode' setting drives getBackend()/getRealtimeEnabled(), so the wallet/wsUrl logic is unchanged; existing per-feature settings migrate in (realtime=off → explorer, backend=electrum → electrum). coinos⇄explorer just flips the watcher (no rescan); to/from electrum rebuilds the backend. Sets up cleanly for a future coinos Fulcrum: 'coinos' mode upgrades from REST+watcher to a full Electrum backend transparently. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Diffstat (limited to 'src/wallet.js')
0 files changed, 0 insertions, 0 deletions