Legacy Endgame: stop new exposure, sunset spends (not coins), cap P2PK with Hourglass
Census (three methods): BitcoinStats strict-proof at 978,807: 7,072,865.10 BTC (35.15%) in 98,590,556 outputs. writteninbitcoin at 978,723: 1,923,654 BTC visible (P2PK 1,710,819 in 44,492; P2TR 212,777 in 52,326,819; bare multisig 58.29 in 2,441,110) + 5,347,331 BTC on 44,009,657 reused-address outputs = 7,270,985 BTC (36.0%). duncan0k at 975,019: 7,164,754.12 BTC (35.6%). Glassnode 6.04M; Project Eleven 6.93M. The 20% spread is method: P2PK/P2TR read from the script, reuse needs key matching.
- L1 Snapshot the census at activation-1; use the union (7.27M) for urgency, strict-proof (7.07M) for minimums.
- L2 Phase A: ban creation of P2PK, bare-multisig and P2TR outputs (checkable from the output script, zero new state). Do NOT ban sends to reused hash addresses: that needs an index of 14,128,724 exposed addresses = see 0.45 GB at 32 B / 0.28 GB at 20 B per node, queried per output - a bigger change than the problem.
- L3 Phase B, five years later (160,000 blocks + 2 years): every ECDSA/Schnorr spend needs a rescue proof - (a) ZK-STARK of a BIP-32 parent xprv at a hardened step (BIP-361 sketch), or (b) a migration ticket: OP_RETURN H(signed migration tx) published before the flag day, that exact tx accepted after. Per-input check, constant state; no reuse index.
- L4 P2PK (1,710,819 BTC, 44,492 outputs, 99.8% pre-halving, 1,710,844 BTC unmoved >=10y): Hourglass V2 instead of a hard freeze - 1 input/block, <=1 BTC net/block -> 1,710,819 / 144 = 11,881 days = 32.5 years, daily cap 144 BTC = 0.0007% of supply. Owners can peel a 50 BTC coinbase output at 1 BTC/block in ~8 hours. Fallback if rejected: BIP-361 freeze.
- L5 Taproot: no special rescue. 52.3M outputs but 212,777 BTC (1.06%); a freeze would mark 52M UTXOs to save 1% of value. Phase A stops new P2TR; Phase B covers spends generically.
- L6 Reused addresses: 5,347,331 BTC; top 100 outputs 1,291,054 BTC (24.1%), 917 outputs hold half. This is where the five-year clock does most work per byte.
- L7 Lost coins: 2,034,750 BTC unmoved >=10y = 28.8% of exposed, 1,710,844 of it P2PK. No burn, no redistribution; frozen or slow-lane. Supply discipline is a side effect.
- L8 Timeline: Phase A at activation (earliest 2028 after Jan-2027 drafts), +3 years, Phase B 2033; Hourglass with Phase A. Two soft forks, no hard fork.
Options and costs: Leave - 0 cost, 7.07-7.27M BTC stealable, supply shock. Limit (A) - soft fork, wallet/exchange churn, breaks 52.3M P2TR receive paths; stops growth (+560,935 reused P2WPKH, +22,673 P2TR addresses/year). Freeze (B) - ZK-STARK research, locks 2.03M BTC unmoved >=10y, confiscation critique, rescue coverage unmeasured; removes the attacker's prize. Hourglass - soft fork, attacker still drains slowly, holders compete for one slot/block, P2PK only; caps at 144 BTC/day. This proposal = A + B + Hourglass.
Interactions. signatures: Phase B needs a PQ scheme and a ZK verifier; Phase A can ship with P2MR alone (decoupled). migration: Phase B is what makes the migration's dust expiry real; without it the 95.4M dust outputs (24,259 BTC) never retire. no-fork: hygiene shrinks the 5.35M reused bucket and xpub leaks are invisible to Phase A; but 1.92M BTC in P2PK/Taproot is beyond wallet practice. tradeoffs: 5 years vs Ali's 4; Corallo's statement covers scheme/script/output type but is silent on coins that never move; Ali's capacity estimate is untouched because Phase A/B add no bytes to normal transactions, only to the legacy spends being retired. Trade-off item: L4. If Hourglass is read as legitimizing theft-by-installment, switch P2PK to a hard freeze at Phase B and accept the confiscation critique; the rest stands.
Against: "a protocol-enforced freeze is confiscation, full stop" (Fosco, Decrypt 2026-04-15); rescue coverage unmeasured (BIP-361 admits it); Hourglass's 1 BTC cap arbitrary and blind to owner vs attacker (bitcoindev 2026-02-10); censuses disagree by 20%; Phase A strands the newest wallet ecosystem; freezing 2.03M BTC turns "slow" into "gone"; Google Quantum AI's ~9-minute on-spend estimate and the NSA's 2026-12-02 advisory make 2033 late; each extra soft fork multiplies coordination risk; rescue proofs link old and new coins. Full write-up with tables, sources and calc.py: submitted as the gist for AIBTC mxanieicca562106cdba.