You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Require to claim revoked local output in its own penalty tx post-anchor
If `option_anchor_outputs` applies, the cheating node can pin spends of its
HTLC-timeout/HTLC-success outputs thanks to SIGHASH_SINGLE malleability.
Using a single penalty transaction for all revoked outputs is thus unsafe as it
could be blocked to propagate long enough for the `_local node's main output_ 's
relative timelock to expire and the cheating party escaping the penalty on this
output.
Note: if a single transaction is used, it may be invalidated if the remote node
526
-
refuses to broadcast the HTLC-timeout and HTLC-success transactions in a timely
527
-
manner. Although, the requirement of persistence until all outputs are
528
-
irrevocably resolved, should still protect against this happening. [ FIXME: May have to divide and conquer here, since the remote node may be able to delay the local node long enough to avoid a successful penalty spend? ]
533
+
Note: if `option_anchor_outputs` applies, the cheating node can pin spends of its
534
+
HTLC-timeout/HTLC-success outputs thanks to SIGHASH_SINGLE malleability.
535
+
Using a single penalty transaction for all revoked outputs is thus unsafe as it
536
+
could be blocked to propagate long enough for the _local node's `to_local` output_ 's
537
+
relative locktime to expire and the cheating party escaping the penalty on this
538
+
output. Though this situation doesn't prevent faithful punishment of the second-level
539
+
revoked output if the pinning transaction confirms.
540
+
541
+
The `security_delay` is a fixed-point relative to the absolute expiration of
542
+
the revoked output at which the punishing node must broadcast a single-spend
543
+
transaction for the revoked output and actively fee-bump it until its confirmation.
544
+
The exact value of `security_delay` is left as a matter of node policy, though we
545
+
recommend 18 blocks (similar to incoming HTLC deadline).
0 commit comments