File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,16 @@ pub struct BalanceDetails {
18
18
/// [`MaybeTimeoutClaimableHTLC`]: LightningBalance::MaybeTimeoutClaimableHTLC
19
19
/// [`lightning_balances`]: Self::lightning_balances
20
20
pub total_lightning_balance_sats : u64 ,
21
- /// A detailed list of all known Lightning balances.
21
+ /// A detailed list of all known Lightning balances that would be claimable on channel closure.
22
+ ///
23
+ /// Note that less than the listed amounts are spendable over lightning as further reserve
24
+ /// restrictions apply. Please refer to [`ChannelDetails::outbound_capacity_msat`] and
25
+ /// [`ChannelDetails::next_outbound_htlc_limit_msat`] as returned by [`Node::list_channels`]
26
+ /// for a better approximation of the spendable amounts.
27
+ ///
28
+ /// [`ChannelDetails::outbound_capacity_msat`]: crate::ChannelDetails::outbound_capacity_msat
29
+ /// [`ChannelDetails::next_outbound_htlc_limit_msat`]: crate::ChannelDetails::next_outbound_htlc_limit_msat
30
+ /// [`Node::list_channels`]: crate::Node::list_channels
22
31
pub lightning_balances : Vec < LightningBalance > ,
23
32
}
24
33
You can’t perform that action at this time.
0 commit comments