]> git.bitcoin.ninja Git - rust-lightning/commit
Change package ID computation for HTLC claims on anchor channels
authorWilmer Paulino <wilmer@wilmerpaulino.com>
Thu, 11 May 2023 22:39:13 +0000 (15:39 -0700)
committerWilmer Paulino <wilmer@wilmerpaulino.com>
Mon, 19 Jun 2023 21:05:39 +0000 (14:05 -0700)
commitce962ad5c583a0c1d1a786b9f229097e361dec09
tree6740a97af3271c2ae60882c2b9cd0e2ed98b3352
parent6775b957bc0e738afff46eb819c69f45410f1843
Change package ID computation for HTLC claims on anchor channels

While the previous way of computing the identifier was safe, it wouldn't
have been in certain scenarios if we considered splitting aggregated
packages. While this type of splitting has yet to be implemented, it may
come in the near future. To ensure we're prepared to handle such, we
opt to instead commit to all of the HTLCs to claim in the request.
lightning/src/chain/onchaintx.rs