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