Skip to content

Recover verified historical continuation outputs - #37

Merged
droplister merged 1 commit into
mainfrom
codex/recovery-historical-continuations
Oct 29, 2026
Merged

droplister merged 1 commit into
mainfrom
codex/recovery-historical-continuations

Conversation

@droplister

Copy link
Copy Markdown
Member

Summary

  • classify historical 1-of-2 continuation outputs only after an independently verified Counterparty anchor
  • require the exact same recovery pubkey and consecutive output positions
  • reclassify stored transactions with classifier v2 while preserving existing spend evidence
  • cover the rule with a real 2014 mainnet transaction and regression tests

Safety

  • no extension or signing behavior changes
  • no output qualifies from curve validity alone
  • modern 1-of-3 and unproven historical candidates remain excluded
  • protected Stamp handling remains separate and unchanged

Production audit

The conservative rule identifies 41,014 currently unspent 2014 outputs totaling 352,131,300 sats (3.521313 BTC), from blocks 280,312 through 333,790. All accepted continuations are gap-free; 66,164 other unspent candidates remain unavailable.

Verification

  • npm run check
  • npm test -w xcp-api (498 tests: 464 pass, 34 skipped, 0 fail)
  • npx wrangler deploy --dry-run --outdir .dry-run
  • bundle size check: 751.7 KiB / 768 KiB

@droplister
droplister merged commit 467f7b2 into main Oct 29, 2026
2 of 4 checks passed
@droplister
droplister deleted the codex/recovery-historical-continuations branch October 29, 2026 01:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant