SIGHASH_NOINPUT
Also covering SIGHASH_ANYPREVOUT
SIGHASH_NOINPUT and SIGHASH_ANYPREVOUT are proposals for a signature hash (sighash) where the identifier for the UTXO being spent is not signed, allowing the signature to be used with any UTXO that’s protected by a similar script (i.e. uses the same public keys).
A noinput-style sighash is necessary for the proposed eltoo layer for LN.
Primary code and documentation
Optech newsletter and website mentions
2021
2020
- Discussion of various topics, including
SIGHASH_ANYPREVOUT
- Request to replace BIP118 with the
SIGHASH_ANYPREVOUT
proposal - Coinpool: using SIGHASH_NOINPUT to help create payment pools
- Impact of SIGHASH_NOINPUT and eltoo on LN backups
- Modification to
SIGHASH_ANYPREVOUTANYSCRIPT
to improve eltoo flexibility
2019
- 2019 year-in-review:
SIGHASH_ANYPREVOUT
- Continued discussion of noinput/anyprevout
- Criticism of
SIGHASH_ANYPREVOUT
and a generic alternative - New proposed
SIGHASH_ANYPREVOUT
mode - Discussion about increasing
SIGHASH_NOINPUT_UNSAFE
safety - Tagging outputs to increase safety of
SIGHASH_NOINPUT_UNSAFE
SIGHASH_NOINPUT_UNSAFE
edge cases
2018
- 2018 year-in-review:
SIGHASH_NOINPUT
- Proposal included additional data in sighashes
- Discussion of the evolution of script:
SIGHASH_NOINPUT_UNSAFE
- Renaming of
SIGHASH_NOINPUT
toSIGHASH_NOINPUT_UNSAFE
See also
Previous Topic:
Sidechains
Next Topic:
Signet