Cache HTLC per_commitment_point in descriptor
authorWilmer Paulino <wilmer@wilmerpaulino.com>
Thu, 6 Jul 2023 17:04:50 +0000 (10:04 -0700)
committerWilmer Paulino <wilmer@wilmerpaulino.com>
Tue, 11 Jul 2023 23:53:22 +0000 (16:53 -0700)
commit72c42ee786d11ea1913d2898069f2c6b15285a2a
treee26077b84086c77bc26e7bec9b61f597f14f2b36
parentae701a0d20fc5c7db925b88d4a8bcb4e6b16fdc2
Cache HTLC per_commitment_point in descriptor

This allows us to obtain the HTLC input and output from its descriptor
without needing to derive the `per_commitment_point` through the signer.
lightning/src/chain/channelmonitor.rs
lightning/src/events/bump_transaction.rs
lightning/src/ln/monitor_tests.rs
lightning/src/sign/mod.rs
lightning/src/util/enforcing_trait_impls.rs