]> git.bitcoin.ninja Git - rust-lightning/commitdiff
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)
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.


No differences found