]> git.bitcoin.ninja Git - rust-lightning/commit
Expose existing PackageID to API and rename to ClaimId
authorWilmer Paulino <wilmer@wilmerpaulino.com>
Thu, 11 May 2023 20:49:00 +0000 (13:49 -0700)
committerWilmer Paulino <wilmer@wilmerpaulino.com>
Mon, 19 Jun 2023 21:05:42 +0000 (14:05 -0700)
commit537c34b7d62ec10fdfec0a95c8a36e6959edd60b
tree7f97273d47ff6f1135db7076481bfdcf263d5b36
parentce962ad5c583a0c1d1a786b9f229097e361dec09
Expose existing PackageID to API and rename to ClaimId

In a future commit, we plan to expand `BumpTransactionEvent` variants to
include the unique identifier assigned to pending output claims by the
`OnchainTxHandler` when a commitment is broadcast/confirmed. This
requires making it public in our API. We also choose to rename it to
`ClaimId` for the benefit of users, as the previous `PackageID` term
could be interpreted to be the ID of a BIP-331 transaction package.
lightning/src/chain/mod.rs
lightning/src/chain/onchaintx.rs
lightning/src/util/ser.rs