bitcoin-dev

Making OP_TRUE standard?

Making OP_TRUE standard?

Original Postby ZmnSCPxj

Posted on: May 11, 2018 02:44 UTC

In an email thread, ZmnSCPxj cleared up a misunderstanding regarding the template-script idea for Lightning.

They clarified that it would not make it mandatory to spend in the same block, but rather the UTXO would cease to be valid after that block. This means that the 0-value output does not take up a UTXO db entry when left unused. Luke and the rest of the list thanked ZmnSCPxj for the clarification and stated that their previous rumination about having two options for Lightning was incorrect. For Lightning, they simply need to add a 0-value OP_TRUE output always to transactions that require both side signatures such as commitment, HTLC-timeout, HTLC-success. This 0-value output will serve as a "hook" for adding more fees if needed.