diff options
| author | Adam Soltys <[email protected]> | 2026-06-04 12:14:15 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-06-04 12:14:15 -0700 |
| commit | be896868de55ef82b268d8c9f92c3f0ba857fed8 (patch) | |
| tree | 803bbbdfbe892873eb2bab74a936a978d188f370 /docker/electrs.Dockerfile | |
| parent | 3db24424438322c3b341623456bd235ae64f98a1 (diff) | |
| download | coinos-server-be896868de55ef82b268d8c9f92c3f0ba857fed8.tar.gz coinos-server-be896868de55ef82b268d8c9f92c3f0ba857fed8.zip | |
analytics: missing-history audit + lightning->liquid arb finder
audit-missing-history.ts: read-only audit classifying every user's payment
history as clean / recoverable (record in arc not db) / lost (gone from
both). Full-scan finding: of 6,330 users with history, 77% are "arc-only"
which is the NORMAL archived state — the payments route reads via gf()
(archive fallback) so those render fine in the app. True loss is 58 users
/ 59 records (0.02%). So there is no widespread history loss; "missing
history" reports are almost always either dropped receive-callbacks
(record never written, like apk403's 1100 sats) or one of the rare 59.
ln-liquid-arb.ts: finds users funding via lightning and withdrawing via
liquid (the pattern draining the liquid hot wallet / forcing threshold
cuts). Reports per-user through-flow + net liquid drainers.
Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Diffstat (limited to 'docker/electrs.Dockerfile')
0 files changed, 0 insertions, 0 deletions
