diff options
| author | Adam Soltys <[email protected]> | 2026-06-15 11:48:19 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-06-15 11:48:19 -0700 |
| commit | 769589f431725a275751bfc84a0d7e6bacee6d0d (patch) | |
| tree | 251afc0a09c1043ef2dafefc3f4506120e105af8 /src/format.js | |
| parent | 13d72fa27c709ed3511365e070ee1b8c86a961a9 (diff) | |
| download | coinosv3-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 'src/format.js')
0 files changed, 0 insertions, 0 deletions
