]> git.bitcoin.ninja Git - rust-lightning/commit
Change variable nomenclature in chan_utils
authorAntoine Riard <ariard@student.42.fr>
Fri, 29 May 2020 00:32:46 +0000 (20:32 -0400)
committerAntoine Riard <ariard@student.42.fr>
Fri, 11 Sep 2020 13:50:18 +0000 (09:50 -0400)
commit1d7c4f663c41b13ed4a8b67d69c23136442a9b6b
treee7fc3ccc3a56bc146bbc07980ab96f1ca4dbee71
parent253af8dd617161b2bd79173f9da3ecc0b0991f7e
Change variable nomenclature in chan_utils

Variables should be named according to the script semantic which is
an invariant with regards to generating a local or remote commitment
transaction.

I.e a broadcaster_htlc_key will always guard a HTLC to the party able
to broadcast the computed transactions whereas countersignatory_htlc_key
will guard HTLC to a countersignatory of the commitment transaction.
lightning-c-bindings/src/chain/keysinterface.rs
lightning-c-bindings/src/ln/chan_utils.rs
lightning/src/chain/keysinterface.rs
lightning/src/ln/chan_utils.rs
lightning/src/ln/channel.rs
lightning/src/ln/channelmonitor.rs
lightning/src/ln/functional_tests.rs
lightning/src/ln/onchaintx.rs
lightning/src/util/enforcing_trait_impls.rs