]> git.bitcoin.ninja Git - rust-lightning/commit
Anchor: do not aggregate claim of revoked output
authorAntoine Riard <ariard@student.42.fr>
Wed, 9 Nov 2022 00:12:22 +0000 (19:12 -0500)
committerAntoine Riard <dev@ariard.me>
Tue, 16 May 2023 00:51:48 +0000 (01:51 +0100)
commitb9aa902e51abc1c7d1f7c3a36cbb254c40f90739
tree6ddb9f0cea56c4f0b608d3ea4ad94706cdc30352
parent56b0c9683864d6860aa117b80470eda64e104854
Anchor: do not aggregate claim of revoked output

See https://github.com/lightning/bolts/pull/803

This protect the justice claim of counterparty revoked output. As
otherwise if the all the revoked outputs claims are batched in a
single transaction, low-feerate HTLCs transactions can delay our
honest justice claim transaction until BREAKDOWN_TIMEOUT expires.
lightning/src/chain/channelmonitor.rs
lightning/src/chain/package.rs