Files
eranos/src
Alex Gleason 7927b9806b Add double-tweak SP recovery flow under /wallet/legacy
Adds a 'Double-tweak SP Fix' option that rescues silent payments stranded
on-chain by the historical double-tweak bug, where outputs landed at
Q = taproot_tweak(P_k) instead of P_k and were invisible to the normal
scanner.

- recovery.ts: scans indexer tweaks for taproot_tweak(P_k) candidates,
  matches them against the block UTXO set, and builds/signs a sweep that
  spends them with taprootTweakPrivKey(b_spend + t_k).
- useHdWalletDoubleTweakRecovery: in-memory range scan + match reporting,
  no NIP-78 persistence (recovered coins are swept immediately).
- WalletDoubleTweakFixPage at /wallet/double-tweak-fix: scan controls,
  recoverable total, and a one-tap sweep into a fresh BIP-86 address.
- Wired into the legacy recovery hub and AppRouter.

English strings only; other locales fall back to English at runtime.
2026-05-28 16:42:00 -05:00
..
2026-04-30 13:19:22 +07:00
2026-05-24 19:00:10 -05:00