aboutsummaryrefslogtreecommitdiffstats
path: root/src/app.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-06-15 23:39:23 -0700
committerAdam Soltys <[email protected]>2026-06-15 23:39:23 -0700
commiteedba2f7f78b2ed5297a28ee88c70466ff13aa67 (patch)
treecf7120838d02ddc39b163d36905a80a70200c599 /src/app.js
parent401bdfd52b17622474dbe68bbbb7f673101253cf (diff)
downloadcoinosv3-eedba2f7f78b2ed5297a28ee88c70466ff13aa67.tar.gz
coinosv3-eedba2f7f78b2ed5297a28ee88c70466ff13aa67.zip
Incremental frontier refresh (no full re-scan on deposit)
refreshLive escalated to a full scan() when the fresh address changed, which re-queried every coin's /utxo and /txs. Rewrite it to walk the frontier incrementally: advance through newly-used addresses, fetching /utxo + /txs for only those, and never revisit already-scanned coin addresses. WS events use the same path. A new deposit now costs ~5 requests instead of a full re-scan. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Diffstat (limited to 'src/app.js')
0 files changed, 0 insertions, 0 deletions