]> git.bitcoin.ninja Git - rust-lightning/commit
Rename ChannelKeys -> Sign and generic it consistently
authorMatt Corallo <git@bluematt.me>
Tue, 16 Feb 2021 21:30:08 +0000 (16:30 -0500)
committerMatt Corallo <git@bluematt.me>
Fri, 19 Feb 2021 20:54:41 +0000 (15:54 -0500)
commitff00f6f8861419b73269e6c51d75ac9de75f1d1f
treef536bb54ba410d8db84afa5ae0c36593c2db09e0
parentee68ffa5fdfcfa8ee7fe70512d9e079d621083bc
Rename ChannelKeys -> Sign and generic it consistently

The `ChannelKeys` object really isn't about keys at all anymore,
its all about signing. At the same time, we rename the type aliases
used in traits from both `ChanKeySigner` and `Keys` to just
`Signer` (or, in contexts where Channel isnt clear, `ChanSigner`).
20 files changed:
background-processor/src/lib.rs
fuzz/src/chanmon_consistency.rs
fuzz/src/chanmon_deser.rs
fuzz/src/full_stack.rs
fuzz/src/utils/test_persister.rs
lightning-net-tokio/src/lib.rs
lightning-persister/src/lib.rs
lightning/src/chain/chainmonitor.rs
lightning/src/chain/channelmonitor.rs
lightning/src/chain/keysinterface.rs
lightning/src/chain/mod.rs
lightning/src/ln/chan_utils.rs
lightning/src/ln/chanmon_update_fail_tests.rs
lightning/src/ln/channel.rs
lightning/src/ln/channelmanager.rs
lightning/src/ln/functional_test_utils.rs
lightning/src/ln/functional_tests.rs
lightning/src/ln/onchaintx.rs
lightning/src/util/enforcing_trait_impls.rs
lightning/src/util/test_utils.rs