Skip to content
LearnBitcoin

ResearchBitcoin Dev Archive lightning-dev list

Simplifying revocation through a new opcode for general signature verification?

2 messages, Mar 8, 2016. Started by Martijn Meijering.

Martijn Meijering, Mark F

Permalink First message in the Wayback Machine

Martijn Meijering permalink original

Now that we almost have SegWit and its soft fork mechanism for upgrading the scripting system, wouldn't it be a good idea to introduce a new opcode for signature verification for arbitrary but appropriately length-restricted messages? Instead of maintaining mirror images of txs and going through the dance of revealing hash preimages, wouldn't it be easier to to sign a message that revokes a previous balance (with hash + sequence number)? Am I overlooking anything? This looks like a simple new opcode that could substantially simplify the LN protocol.

Mark F in reply to Martijn Meijering permalink original

How is that in practice any different than a hash preimage? On Mar 8, 2016 2:21 PM, "Martijn Meijering" <martijn.meijering at mevs.nl> wrote:

Quoted text (15 lines)
> Now that we almost have SegWit and its soft fork mechanism for upgrading
> the scripting system, wouldn't it be a good idea to introduce a new opcode
> for signature verification for arbitrary but appropriately
> length-restricted messages? Instead of maintaining mirror images of txs and
> going through the dance of revealing hash preimages, wouldn't it be easier
> to to sign a message that revokes a previous balance (with hash + sequence
> number)? Am I overlooking anything? This looks like a simple new opcode
> that could substantially simplify the LN protocol.
>
> _______________________________________________
> Lightning-dev mailing list
> Lightning-dev at lists.linuxfoundation.org
> https://www.learnbitcoin.com/archive/lists/lightning-dev
>
>