]> git.bitcoin.ninja Git - ldk-sample/commit
Attempt a last-ditch ChannelManager persistence if the BP exits 2023-08-last-ditch-write
authorMatt Corallo <git@bluematt.me>
Sun, 13 Aug 2023 22:40:25 +0000 (22:40 +0000)
committerMatt Corallo <git@bluematt.me>
Mon, 14 Aug 2023 18:48:05 +0000 (18:48 +0000)
commit6982d0aedb50a4273abcb8529fe95117ba3adefc
treebdcb3c1c7745f918426fbb3e7c85ea178cef26da
parent34a748c1e5b7ace1904eaec80d56f20e8be81ec4
Attempt a last-ditch ChannelManager persistence if the BP exits

If the BP exits because it failed to write our ChannelManager to
disk, we'll probably lose some channels on startup. However,
there's still some chance for us to write the `ChannelManager` in a
retry, which we should do before we exit.
src/main.rs