Author: Johnson Lau 2018-12-18 10:00:59
Published on: 2018-12-18T10:00:59+00:00
In an email thread, several developers discussed the possibility of disabling CHECKSIG and CHECKMULTISIG in favor of using CHECKDLS, CHECKDLSVERIFY, and CHECKDLSADD. This change would result in copy-pasting script templates from v0 to v1 failing because they use different opcodes. Additionally, they discussed popping the stack after OP_CLTV and OP_CSV, which would save one weight unit per OP_CSV. However, this change could cause issues for constructions that avoid the DROP. The developers concluded that changing the rule from "one true stack item" to "empty stack" could make more sense for CLTV/CSV. They acknowledged that fixing these issues creates further tech debt but did not have strong opinions on the topic.
Updated on: 2023-05-20T19:38:11.796030+00:00