Making OP_TRUE standard?



Summary:

In a discussion among Bitcoin developers, Rusty Russell expressed that the largest problem with the Lightning protocol is trying to predict future fees. To address this issue, he proposed including a 546 satoshi OP_TRUE output in commitment transactions. However, as a raw 'OP_TRUE' is non-standard, it would have to be P2SHed at the moment. Olaoluwa Osuntokun suggested using p2wsh instead, which can be rolled out immediately without requiring policy changes. In response, ZmnSCPxj explained that P2WSH is larger due to the script hash commitment in the `scriptPubKey` as well as the actual script revelation in the `witnessScript`, whereas a flat OP_TRUE in the `scriptPubKey` is much smaller and can be spent with an empty `scriptSig`. The desire for an isStandard OP_TRUE seems to be solely based on its smaller size.


Updated on: 2023-06-13T02:05:51.403569+00:00