[Lightning-dev] We don't need R-Value, how OP_CODESEPARATOR saves the day

Nicolas Dorier nicolas.dorier at gmail.com
Mon Mar 7 07:28:45 UTC 2016

I managed to adapt the payment channel script to use less space.

This version is winning around 32 bytes in the scriptpubkey (for the R
value) as well as 70 bytes in the signature when Alice close the channel.

Alice closing the channel:

Bob using revocation:

This amount to 100 bytes saved between the anchor transaction + commitment
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfoundation.org/pipermail/lightning-dev/attachments/20160307/adaf7917/attachment.html>

More information about the Lightning-dev mailing list