[bitcoin-dev] Safer sighashes and more granular SIGHASH_NOINPUT

ZmnSCPxj ZmnSCPxj at protonmail.com
Mon Dec 24 12:01:58 UTC 2018

Good morning,

> Could anyone propose a better use case of CODESEPARATOR?

Long ago, aj sent an email on Lightning-dev about use of CODESEPARATOR to impose Scriptless Script even without Schnorr. It involved 3 signatures with different CODESEPARATOR places, and forced R reuse so that the signatures to claim the funds revealed the privkey.

The script shown had all CODESEPARATOR in a single branch.

I cannot claim to understand the script, and am having difficulty digging through the mailinglist


More information about the bitcoin-dev mailing list