]> 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>
Sun, 1 Mar 2020 04:26:16 +0000 (23:26 -0500)
commitd909678ad68456d3e64b5a7722c0bf52d46e3655
treeaad3c06310177b179c4500c5deaff1f2e1233738
parentae4c215139b58ea4b1bad6b92a578c820670d057
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