aboutsummaryrefslogtreecommitdiffstats
path: root/src/api.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-06-15 12:56:36 -0700
committerAdam Soltys <[email protected]>2026-06-15 12:56:36 -0700
commit3ecb137cc4300e60f00fbb575441f34e01839a8e (patch)
tree16169e758e281bd565600ed4ec12f183941aec3c /src/api.js
parent769589f431725a275751bfc84a0d7e6bacee6d0d (diff)
downloadcoinosv3-3ecb137cc4300e60f00fbb575441f34e01839a8e.tar.gz
coinosv3-3ecb137cc4300e60f00fbb575441f34e01839a8e.zip
Apply WS tx payload instantly; faster reconcile
The mempool.space WebSocket push already contains the transaction, so parse it on arrival to add the incoming UTXO and bump pending immediately, instead of waiting on a debounced re-scan. The scan still follows (400ms) to reconcile spends/confirmations. Removes the ~3s our handler added on top of mempool.space's own push latency. (Measured: mempool.space itself takes ~8s to see a coinos-broadcast tx due to p2p propagation — the real fix for incoming-payment latency is the sender pushing directly to the explorer.) Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Diffstat (limited to 'src/api.js')
0 files changed, 0 insertions, 0 deletions