]> git.bitcoin.ninja Git - rust-lightning/commit
Remove AvailableBalances::balance_msat
authorWillem Van Lint <noreply@wvanlint.dev>
Sun, 6 Aug 2023 00:26:49 +0000 (17:26 -0700)
committerWillem Van Lint <noreply@wvanlint.dev>
Tue, 15 Aug 2023 18:42:00 +0000 (11:42 -0700)
commitef5be580f51d6756612fea710516c0297203f4dc
tree780c049ddf3c3d8af8ed5494d19a4779cc1111f1
parenta24626b919bf5ec5206ab65746fcee274cd589ec
Remove AvailableBalances::balance_msat

The ChannelMonitor::get_claimable_balances method provides a more
straightforward approach to the balance of a channel, which satisfies
most use cases. The computation of AvailableBalances::balance_msat is
complex and originally had a different purpose that is not applicable
anymore.
fuzz/src/router.rs
lightning/src/chain/chainmonitor.rs
lightning/src/ln/channel.rs
lightning/src/ln/channelmanager.rs
lightning/src/routing/router.rs
pending_changelog/remove_balance_msat.txt [new file with mode: 0644]