René Pickhardt [ARCHIVE] on Nostr: 📅 Original date posted:2018-11-23 📝 Original message: Dear Cezary, as far as I ...
📅 Original date posted:2018-11-23
📝 Original message:
Dear Cezary,
as far as I understand the problem in the case of a unilateral (force)
close are:
1.) In order to RBF your commitment transaction you would have to have the
signature of your former channel partner. since you initiated a force close
it is unlikely that you get this signature to RBF because then you could
have done a mutual close right away which is cheaper since less tx are
invovled to claim all funds back.
2.) In order to CPFP you have to be able to spend your output which can't
work because there is a timelock on it.
I believe on the last lightning developer summit this issue was discussed
and it was agreed that for BOLT1.1 we want have a third output in the
commitment transactions which anyone can spend (OP_TRUE) and which is just
above the dust level. This output is supposed to have no timelock so that
anyone can CPFP it. In the general case miners of the block could collect
the output as a fee. You can find a pointer to this on this wikipage in the
lightning-rfc git repo:
https://github.com/lightningnetwork/lightning-rfc/wiki/Lightning-Specification-1.1-Proposal-States
(look in the section tx and fees)
best Rene
On Fri, Nov 23, 2018 at 6:30 PM Cezary Dziemian <cezary.dziemian at gmail.com>
wrote:
> Hello all,
>
> Sorry for my ignorance. I have two questions related with penalty txs. I
> assume, that when someone commits obsolete commitment tx, my node
> automatically commit penalty transaction.
>
> What if fees suddenly increases? Can my node use RBF to increase fee?
>
> Is there any approach common to major 3 implementations?
>
> How much time (how many blocks) do my node have to commit penalty tx? Is
> there some value common for implementations?
>
> Best regards,
> Cezary Dziemian
> _______________________________________________
> Lightning-dev mailing list
> Lightning-dev at lists.linuxfoundation.org
> https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev
>
--
https://www.rene-pickhardt.de
Skype: rene.pickhardt
mobile: +49 (0)176 5762 3618
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfoundation.org/pipermail/lightning-dev/attachments/20181123/e0bb5ac7/attachment.html>
📝 Original message:
Dear Cezary,
as far as I understand the problem in the case of a unilateral (force)
close are:
1.) In order to RBF your commitment transaction you would have to have the
signature of your former channel partner. since you initiated a force close
it is unlikely that you get this signature to RBF because then you could
have done a mutual close right away which is cheaper since less tx are
invovled to claim all funds back.
2.) In order to CPFP you have to be able to spend your output which can't
work because there is a timelock on it.
I believe on the last lightning developer summit this issue was discussed
and it was agreed that for BOLT1.1 we want have a third output in the
commitment transactions which anyone can spend (OP_TRUE) and which is just
above the dust level. This output is supposed to have no timelock so that
anyone can CPFP it. In the general case miners of the block could collect
the output as a fee. You can find a pointer to this on this wikipage in the
lightning-rfc git repo:
https://github.com/lightningnetwork/lightning-rfc/wiki/Lightning-Specification-1.1-Proposal-States
(look in the section tx and fees)
best Rene
On Fri, Nov 23, 2018 at 6:30 PM Cezary Dziemian <cezary.dziemian at gmail.com>
wrote:
> Hello all,
>
> Sorry for my ignorance. I have two questions related with penalty txs. I
> assume, that when someone commits obsolete commitment tx, my node
> automatically commit penalty transaction.
>
> What if fees suddenly increases? Can my node use RBF to increase fee?
>
> Is there any approach common to major 3 implementations?
>
> How much time (how many blocks) do my node have to commit penalty tx? Is
> there some value common for implementations?
>
> Best regards,
> Cezary Dziemian
> _______________________________________________
> Lightning-dev mailing list
> Lightning-dev at lists.linuxfoundation.org
> https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev
>
--
https://www.rene-pickhardt.de
Skype: rene.pickhardt
mobile: +49 (0)176 5762 3618
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfoundation.org/pipermail/lightning-dev/attachments/20181123/e0bb5ac7/attachment.html>