]> 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>
Mon, 25 May 2020 19:34:15 +0000 (15:34 -0400)
commit676e15910c1a681e5ff2019bc7e53540119ceee5
tree4ff55b49b16e81d6b7a82db8cbf0867f650100f3
parent2042f95d8a4caa831c9d7d3c76d7b370c21f0504
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