]> git.bitcoin.ninja Git - rust-lightning/commit
Create ChannelMonitors with basic_channel_info and funding_info set
authorMatt Corallo <git@bluematt.me>
Sat, 8 Feb 2020 22:45:40 +0000 (17:45 -0500)
committerMatt Corallo <git@bluematt.me>
Thu, 27 Feb 2020 00:15:32 +0000 (19:15 -0500)
commit6caed7df7cf21de837d4b31443699a933164b9cd
tree43050df91d6760542cb0d873eec8bcaab12cc9f3
parentf930fc1886dbfdc388be79579ef02e788e2478f5
Create ChannelMonitors with basic_channel_info and funding_info set

This removes most of the reliance on ChannelMonitor Clone, creating
them in Channel only at the time when we need to start monitoring
the chain.
lightning/src/ln/channel.rs
lightning/src/ln/channelmonitor.rs