]> git.bitcoin.ninja Git - rust-lightning/commit
Universally Require Writeable for ChannelKeys
authorMatt Corallo <git@bluematt.me>
Wed, 25 Nov 2020 17:23:37 +0000 (12:23 -0500)
committerMatt Corallo <git@bluematt.me>
Mon, 4 Jan 2021 17:40:40 +0000 (12:40 -0500)
commit4345aa88ae415e558a177321a87905a134d4e24a
tree93ece9438af083fde76e759a4708a11e0c539edf
parentc5fca8c41cee0096eb529de4529f234b5047d326
Universally Require Writeable for ChannelKeys

It doesn't make sense to ever build a lightning node which doesn't
ever write ChannelMonitors to disk, so having a ChannelKeys object
which doesn't implement Writeable is nonsense.

Here we require Writeable for all ChannelKeys objects, simplifying
code generation for C bindings somewhat.
lightning-persister/src/lib.rs
lightning/src/chain/channelmonitor.rs
lightning/src/chain/keysinterface.rs
lightning/src/ln/channel.rs
lightning/src/ln/channelmanager.rs
lightning/src/ln/onchaintx.rs