aboutsummaryrefslogtreecommitdiffstats
path: root/dev.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-06-15 11:48:19 -0700
committerAdam Soltys <[email protected]>2026-06-15 11:48:19 -0700
commit769589f431725a275751bfc84a0d7e6bacee6d0d (patch)
tree251afc0a09c1043ef2dafefc3f4506120e105af8 /dev.js
parent13d72fa27c709ed3511365e070ee1b8c86a961a9 (diff)
downloadcoinosv3-769589f431725a275751bfc84a0d7e6bacee6d0d.tar.gz
coinosv3-769589f431725a275751bfc84a0d7e6bacee6d0d.zip
Global rate-aware request proxy + lighter polling
429 handling: route every outgoing request (address, utxo, txs, fees, broadcast) through one scheduler. A 429 from ANY request now pauses ALL subsequent requests with exponential backoff (2s→30s), easing off after a streak of successes — instead of only cooling down the same host/kind. Fewer requests: derive balance from /address chain_stats (no /utxo needed just to total), and on background polls fetch only /address. The heavier /utxo + /txs are pulled only on first load or when the balance/addresses actually change. Idle polls drop from ~3N requests to ~N. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Diffstat (limited to 'dev.js')
0 files changed, 0 insertions, 0 deletions