On this episode of “The Van Wirdum Sjorsnado,” the hosts mentioned sighash flag SIGHASH_ANYPREVOUT and Eltoo, a proposed Layer 2 protocol.
Watch This Episode On YouTube
Hear To This Episode:
On this episode of “The Van Wirdum Sjorsnado,” hosts Aaron van Wirdum and Sjors Provoost mentioned SIGHASH_ANYPREVOUT, a proposed new sighash flag that may allow a cleaner model of the Lightning Community and different Layer 2 protocols.
Sighash flags are included in Bitcoin transactions to point which a part of the transaction is signed by the required personal keys, precisely. This may be (virtually) the complete transaction, or particular components of it. Signing solely particular components permits for some flexibility to regulate the transaction even after it’s signed, which may generally be helpful.
Van Wirdum and Provoost defined that SIGHASH_ANYPREVOUT is a brand new sort of sighash flag, which might signal many of the transaction, however not the inputs. Which means that the inputs could possibly be swapped, so long as the brand new inputs would nonetheless be suitable with the signature.
SIGHASH_ANYPREVOUT could be particularly helpful within the context of Eltoo, a proposed Layer 2 protocol that may allow a brand new model of the Lightning Community. Rather than how Lightning customers at the moment must retailer previous channel knowledge for safety causes, and is also punished severely in the event that they by chance broadcast a few of this knowledge on the mistaken time, van Wirdum and Provoost defined how SIGHASH_ANYPREVOUT would get rid of this requirement.