aboutsummaryrefslogtreecommitdiffstats
path: root/src/app.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-06-23 23:40:09 -0700
committerAdam Soltys <[email protected]>2026-06-23 23:40:09 -0700
commit6190f25ca44ed12a0e136004096aef042c472b77 (patch)
treecca5b22cdd0b8626624d567cfd5e59928d97f65b /src/app.js
parentecdc460769fc6daad66df23604ceee6456b29061 (diff)
downloadcoinosv3-6190f25ca44ed12a0e136004096aef042c472b77.tar.gz
coinosv3-6190f25ca44ed12a0e136004096aef042c472b77.zip
Reconcile spends of held coins on refresh
refreshLive only walked the frontier forward, so a coin spent from an already-scanned address never reconciled — the balance stayed stale until a full rescan, even after the spend confirmed (e.g. a tx broadcast from another device). Add _reconcileHeld: re-verify every address that currently holds a UTXO and rebuild its balance/UTXOs from the explorer, catching spends whether pending or confirmed. Runs in the refreshLive path (load, poll, WS), so a refresh now self-corrects. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Diffstat (limited to 'src/app.js')
0 files changed, 0 insertions, 0 deletions