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 @@ -157,6 +157,7 @@ dictionary ChannelDetails {
157
157
u64 channel_value_satoshis;
158
158
u64? unspendable_punishment_reserve;
159
159
UserChannelId user_channel_id;
160
+ u32 feerate_sat_per_1000_weight;
160
161
u64 balance_msat;
161
162
u64 outbound_capacity_msat;
162
163
u64 inbound_capacity_msat;
Original file line number Diff line number Diff line change @@ -159,6 +159,9 @@ pub struct ChannelDetails {
159
159
pub unspendable_punishment_reserve : Option < u64 > ,
160
160
/// The local `user_channel_id` of this channel.
161
161
pub user_channel_id : UserChannelId ,
162
+ /// The currently negotiated fee rate denominated in satoshi per 1000 weight units,
163
+ /// which is applied to commitment and HTLC transactions.
164
+ pub feerate_sat_per_1000_weight : u32 ,
162
165
/// Total balance of the channel. This is the amount that will be returned to the user if the
163
166
/// channel is closed.
164
167
///
@@ -214,6 +217,7 @@ impl From<LdkChannelDetails> for ChannelDetails {
214
217
unspendable_punishment_reserve : value. unspendable_punishment_reserve ,
215
218
user_channel_id : UserChannelId ( value. user_channel_id ) ,
216
219
balance_msat : value. balance_msat ,
220
+ feerate_sat_per_1000_weight : value. feerate_sat_per_1000_weight . unwrap ( ) ,
217
221
outbound_capacity_msat : value. outbound_capacity_msat ,
218
222
inbound_capacity_msat : value. inbound_capacity_msat ,
219
223
confirmations_required : value. confirmations_required ,
You can’t perform that action at this time.
0 commit comments