aboutsummaryrefslogtreecommitdiffstats
path: root/src/api.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-06-15 15:41:23 -0700
committerAdam Soltys <[email protected]>2026-06-15 15:41:23 -0700
commitc57f06e47eb5b662a00cddf27cd4270e8418d163 (patch)
treecf72cd6204e07ac29b37d30839e58be216876ef4 /src/api.js
parente2556617ef4c1632217b3731afe8e519369cbeab (diff)
downloadcoinosv3-c57f06e47eb5b662a00cddf27cd4270e8418d163.tar.gz
coinosv3-c57f06e47eb5b662a00cddf27cd4270e8418d163.zip
Cache stable addresses; poll only the live frontier
Idle polls were re-querying every used address (~N requests each cycle). Now the background poll checks only addresses that can change — those holding coins and the next fresh receive/change address — and escalates to a full scan only when one of them moves. Stable historical addresses stay cached. A full scan still runs every 5 min as a safety net. Cuts steady-state request volume dramatically for wallets with many used addresses. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Diffstat (limited to 'src/api.js')
0 files changed, 0 insertions, 0 deletions