]> git.bitcoin.ninja Git - rust-lightning/commit
Use `KeysInterface::read_chan_signer` for all channel keys deser 2020-10-chansigner-no-ser
authorMatt Corallo <git@bluematt.me>
Wed, 25 Nov 2020 21:18:12 +0000 (16:18 -0500)
committerMatt Corallo <git@bluematt.me>
Mon, 4 Jan 2021 17:40:40 +0000 (12:40 -0500)
commit990d1de99af0777b66dc543a83548df51c762917
tree245122a0db2436aca84c5782f7e8f3958279efb9
parentc07b4de9831da640d5593fe8df9334cd8041c108
Use `KeysInterface::read_chan_signer` for all channel keys deser

This drops any direct calls to a generic `ChannelKeys::read()` and
replaces it with the new `KeysInterface::read_chan_signer()`. Still,
under the hood all of our own `KeysInterface::read_chan_signer()`
implementations simply call out to a `Readable::read()` implemention.
fuzz/src/chanmon_consistency.rs
fuzz/src/chanmon_deser.rs
lightning-persister/src/lib.rs
lightning/src/chain/channelmonitor.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/test_utils.rs