aboutsummaryrefslogtreecommitdiffstats
path: root/tools/sync-zombie-tx-test.js
Commit message (Collapse)AuthorAgeFilesLines
* Sync: stop resurrecting stale pending txs from other devices' snapshots.Adam Soltys2026-09-101-0/+37
A 5,000-sat send built on 2026-09-06 that the network never took sat in the history as a pending withdrawal for four days on every device. The local scan prunes such rows (explorer 404 / absent from address history), but the boot-time cross-device history union re-adopted it from a stale device slot's core snapshot, and the device then republished it — a phantom that no explorer knows, immortal across devices. The union now adopts a remote PENDING row only while it is under a day old (it has to prove itself to the local scan); confirmed rows still union as before, and the device's own rows are untouched. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01Nw1Dijik1tLVKRM1WkU7xE