BIP 118 (status Draft as of 20 November 2026) specifies SIGHASH_ANYPREVOUT (0x40) and SIGHASH_ANYPREVOUTANYSCRIPT (0xc0) for a new tapscript public key type: a signature made with them does not commit to the identifier of the output being spent, so it can be reused with another output that has a compatible script.
Sources and checks
SIGHASH_ANYPREVOUTANYSCRIPT = 0xc0
Specification, hash type constants, read 2026-11-20
Still in bip-0118.mediawiki at the head of bitcoin/bips (9f3d3bc6a6), read 26 Nov 2026.
This BIP describes a new type of public key for tapscript
Abstract, first sentence, read 2026-11-20
Still in bip-0118.mediawiki at the head of bitcoin/bips (9f3d3bc6a6), read 26 Nov 2026.
T2Bitcoin Optech topic, SIGHASH_ANYPREVOUTBitcoin Optech, says this directly
where the identifier for the UTXO being spent is not signed, allowing the signature to be used with any UTXO that's
Topic definition, first sentence, read 2026-11-20
BIP 118's Status is "Draft" on the default branch.
Run it yourself
curl -s https://raw.githubusercontent.com/bitcoin/bips/master/bip-0118.mediawiki | grep -m1 -E '^ *Statuss?:'bitcoin-inquisition/bitcoin at 3db09a1b58 contains this text in src/script/interpreter.cpp.
Run it yourself
git clone https://github.com/bitcoin-inquisition/bitcoin && git -C bitcoin show 3db09a1b5821b049af295091055c39e0f80846c7:src/script/interpreter.cpp | grep -nF 'input_type == SIGHASH_ANYPREVOUT'Checked at block 977,312, 24 Nov 2026, 02:30 UTC: quotes 3/3, code 2/2
History
Nothing is edited silently; every revision keeps what it replaced.
- 24 Nov 2026, 02:30 UTCblock 977,312
Published Revision 1, run 2026-11-20-seed-covenants