aboutsummaryrefslogtreecommitdiffstats
path: root/src/app.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-06-27 16:18:20 -0700
committerAdam Soltys <[email protected]>2026-06-27 16:18:20 -0700
commit588159a38bf2a2e9cae4d5b8a8ff7faae8b9ad2a (patch)
tree310d1b9196c1a32c4e732c7c8dc1a2a3d380024d /src/app.js
parent4c95ed2826b4dd11555c0500426747571c148dec (diff)
downloadcoinosv3-588159a38bf2a2e9cae4d5b8a8ff7faae8b9ad2a.tar.gz
coinosv3-588159a38bf2a2e9cae4d5b8a8ff7faae8b9ad2a.zip
Indexer: SQLite persistence + instant ZMQ hashblock detection
- Persist blocks/items to SQLite (SP_DB; defaults to in-memory) so the indexer resumes instead of re-walking the chain on restart — verified resume-from the stored height. - Subscribe to Core's hashblock ZMQ (SP_ZMQ) via a tiny pure-JS ZMTP/3.0 SUB client (no native dep, bundle stays self-contained) to trigger a sync the instant a block lands — measured ~200ms end-to-end vs the poll interval. Poll remains a backstop. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Diffstat (limited to 'src/app.js')
0 files changed, 0 insertions, 0 deletions