diff options
| author | Adam Soltys <[email protected]> | 2026-06-15 22:14:54 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-06-15 22:14:54 -0700 |
| commit | b7e73b295311fcfcff3e247bb4451fbf757cefb9 (patch) | |
| tree | 7c6809ea725e9d21d6d1c9879d9e2238e16cc69b /src/api.js | |
| parent | 011d18f65ca7895260370bbc2d29b513705593e3 (diff) | |
| download | coinosv3-b7e73b295311fcfcff3e247bb4451fbf757cefb9.tar.gz coinosv3-b7e73b295311fcfcff3e247bb4451fbf757cefb9.zip | |
Use cached state on reload; light poll instead of full re-scan
On load we restored the cache for instant display but then always ran a full
scan (every address's /address + /utxo + /txs) — so a refresh re-fetched
everything. Now when a cache exists, the load path runs the light frontier
poll (only live addresses, no utxo/txs re-fetch) and escalates to a full scan
only if something changed. A brand-new wallet still does a full scan, and the
periodic deep scan still runs.
Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Diffstat (limited to 'src/api.js')
0 files changed, 0 insertions, 0 deletions
