]> git.bitcoin.ninja Git - ldk-sample/commit
Use `Balance`s to calculate balances instead of `ChannelDetails`
authorMatt Corallo <git@bluematt.me>
Mon, 14 Oct 2024 02:03:54 +0000 (02:03 +0000)
committerMatt Corallo <git@bluematt.me>
Tue, 15 Oct 2024 14:40:53 +0000 (14:40 +0000)
commitcfcd28b094a2ada3835c986154434d83e22165f7
tree60baca2579b81dcb0b9ea4f596eca1b8f16f41e6
parentd8ab0a6ffe742f1267253ffc5b29ee3503cb6719
Use `Balance`s to calculate balances instead of `ChannelDetails`

LDK has deprecated the `ChannelDetails` balance retrieval because
its generally not what users want. Instead, we use the
`ChainMonitor` `Balance` list.
src/cli.rs
src/main.rs