Continuing the discussion about noinput / anyprevout



Summary:

The conversation between Christian Decker and AJ discusses the use of opt-in via pubkey prefix as a means to avoid losing funds while handling additional coins sent to the same address. The scheme is extendable to opt into all sighash flags, which would allow the pubkey prefix to act as a mask for the sighash flags, and fail verification if they do not match. The conversation also highlights the need for an effective demonstration of the theoretical attacks people have dreamt up in a laboratory setting, to ensure that every possible corner case is handled. If it turns out that output tagging and the like aren't necessary, it would be good evidence that they are not needed. Conversely, if it turns out that they are required, it gives an opportunity to see how they work and whether they provide any meaningful protection.


Updated on: 2023-05-23T02:15:02.301083+00:00