Schnorr and taproot (etc) upgrade



Summary:

In a discussion among developers on the bitcoin-dev mailing list, Anthony Towns proposed a change to the way scripts are composed. Currently, a script succeeds if there is exactly one non-zero item on the stack. However, Towns suggested that it would be better for the stack to be exactly empty in order to make the script more composable and eliminate the need for special logic to handle top-level CHECKSIG versus mid-level CHECKSIGVERIFY. The proposal was met with some discussion on the mailing list.


Updated on: 2023-06-13T16:30:39.497372+00:00