[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:
http://n.bitcoin.ninja/checkscript?savedScript=51225750-f245-45b5-a86c-6ca1e87dcafb
Bob using revocation:
http://n.bitcoin.ninja/checkscript?savedScript=c4d7ebaa-5a79-4c03-ab55-c499854f1e94
This amount to 100 bytes saved between the anchor transaction + commitment
broadcasted.
-------------- 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