]> git.bitcoin.ninja Git - rust-lightning/commit
Move the pub `wait` methods from `ChannelManager` to `Future`
authorMatt Corallo <git@bluematt.me>
Thu, 9 Mar 2023 02:48:17 +0000 (02:48 +0000)
committerMatt Corallo <git@bluematt.me>
Mon, 3 Apr 2023 16:49:54 +0000 (16:49 +0000)
commitefcb5e02dc5bbdb92e917234336ce37a204e1d57
tree2a1141948f72f44a51875856365f161793f59752
parentb455fb5e775d5062035242d38da9c57527ca5a85
Move the pub `wait` methods from `ChannelManager` to `Future`

Rather than having three ways to await a `ChannelManager` being
persistable, this moves to just exposing the awaitable `Future` and
having sleep functions on that.
lightning-background-processor/src/lib.rs
lightning/src/ln/channelmanager.rs
lightning/src/util/wakers.rs