File tree 2 files changed +5
-0
lines changed
2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -141,6 +141,7 @@ dictionary ChannelDetails {
141
141
u64 channel_value_satoshis;
142
142
u64? unspendable_punishment_reserve;
143
143
UserChannelId user_channel_id;
144
+ u32 feerate_sat_per_1000_weight;
144
145
u64 balance_msat;
145
146
u64 outbound_capacity_msat;
146
147
u64 inbound_capacity_msat;
Original file line number Diff line number Diff line change @@ -323,6 +323,9 @@ pub struct ChannelDetails {
323
323
pub unspendable_punishment_reserve : Option < u64 > ,
324
324
/// The local `user_channel_id` of this channel.
325
325
pub user_channel_id : UserChannelId ,
326
+ /// The currently negotiated fee rate denominated in satoshi per 1000 weight units,
327
+ /// which is applied to commitment and HTLC transactions.
328
+ pub feerate_sat_per_1000_weight : u32 ,
326
329
/// Total balance of the channel. This is the amount that will be returned to the user if the
327
330
/// channel is closed.
328
331
///
@@ -378,6 +381,7 @@ impl From<LdkChannelDetails> for ChannelDetails {
378
381
unspendable_punishment_reserve : value. unspendable_punishment_reserve ,
379
382
user_channel_id : UserChannelId ( value. user_channel_id ) ,
380
383
balance_msat : value. balance_msat ,
384
+ feerate_sat_per_1000_weight : value. feerate_sat_per_1000_weight . unwrap ( ) ,
381
385
outbound_capacity_msat : value. outbound_capacity_msat ,
382
386
inbound_capacity_msat : value. inbound_capacity_msat ,
383
387
confirmations_required : value. confirmations_required ,
You can’t perform that action at this time.
0 commit comments