Author: ZmnSCPxj 2020-10-21 03:05:35
Published on: 2020-10-21T03:05:35+00:00
The c-lightning contributor John Barboza assumed that future versions should be invalid because c-lightning doesn't allow withdraw to segwit > 0. This code was later refactored by John Barboza when they were standardizing the `param` system, which was intended only as a simple precaution against creating non-standard transaction and not an assumption that future versions should be invalid. The intent is that further `else if` branches would be added for newer witness versions and whatever length restrictions they may have, as the `/* Insert other witness versions here. */` comment implies.
Updated on: 2023-06-14T16:08:33.049103+00:00