]> git.bitcoin.ninja Git - rust-lightning/commit
Fold sign_holder_commitment_htlc_transactions into sign_holder_commitment
authorDevrandom <c1.devrandom@niftybox.net>
Tue, 5 Jan 2021 19:50:54 +0000 (11:50 -0800)
committerDevrandom <c1.devrandom@niftybox.net>
Mon, 18 Jan 2021 18:24:31 +0000 (10:24 -0800)
commitcb83cfe366aaa07179cac1079694e9ea5c6cc9c6
tree283caf9437f22d063845d94da3e68b8dc35d5ce0
parent2ea3765b7aa7e029b163f19cdde62abb539f09cb
Fold sign_holder_commitment_htlc_transactions into sign_holder_commitment

Signing the commitment transaction is almost always followed by signing the attached HTLC transactions, so fold the signing operations into a single method.
lightning/src/chain/keysinterface.rs
lightning/src/ln/channel.rs
lightning/src/ln/onchaintx.rs
lightning/src/util/enforcing_trait_impls.rs