]> git.bitcoin.ninja Git - rust-lightning/commit
Swap key_derivation_params (u64, u64) for channel_keys_id [u8; 32]
authorMatt Corallo <git@bluematt.me>
Sat, 6 Feb 2021 18:11:23 +0000 (13:11 -0500)
committerMatt Corallo <git@bluematt.me>
Fri, 12 Feb 2021 23:57:20 +0000 (18:57 -0500)
commite885d0a7747cfc3b89a3c2765a8c0dd174e3889a
tree2f72f8218de75e878ad0360f70b417e52ba7ca29
parent879e309c128e2e2980846bfbb9a80a4c2bf8cbb4
Swap key_derivation_params (u64, u64) for channel_keys_id [u8; 32]

Instead of `key_derivation_params` being a rather strange type, we
call it `channel_keys_id` and give it a generic 32 byte array. This
should be much clearer for users and also more flexible.
fuzz/src/chanmon_consistency.rs
fuzz/src/full_stack.rs
lightning/src/chain/channelmonitor.rs
lightning/src/chain/keysinterface.rs
lightning/src/ln/channel.rs
lightning/src/ln/functional_tests.rs
lightning/src/util/enforcing_trait_impls.rs
lightning/src/util/test_utils.rs