]> git.bitcoin.ninja Git - rust-lightning/commit
Add an fn to get a ChannelMonitor reference from a ManyChannelMonitor
authorMatt Corallo <git@bluematt.me>
Sat, 15 Feb 2020 01:06:31 +0000 (20:06 -0500)
committerMatt Corallo <git@bluematt.me>
Tue, 5 May 2020 21:27:02 +0000 (17:27 -0400)
commit9a62d118f68dfd7269d1d84e3015791a287c06fa
treec4cd6cb23b4eeada4ce275055d6c5fcf3be65a06
parent2034cdf97bea4dcb1111928a06c233b52946366b
Add an fn to get a ChannelMonitor reference from a ManyChannelMonitor

This is really awkwrd, and relies on some (at least rather simple)
unsafe code (essentially avoiding the need for Pin), but it works
pretty well.
lightning/src/lib.rs
lightning/src/ln/channelmonitor.rs