Skip to content

Commit 4b6aa1a

Browse files
committed
Set defaults for ChannelConfig in bindings
1 parent 0517c5c commit 4b6aa1a

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

bindings/ldk_node.udl

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -205,12 +205,12 @@ dictionary PeerDetails {
205205
};
206206

207207
dictionary ChannelConfig {
208-
u32 forwarding_fee_proportional_millionths;
209-
u32 forwarding_fee_base_msat;
210-
u16 cltv_expiry_delta;
211-
u64 max_dust_htlc_exposure_msat;
212-
u64 force_close_avoidance_max_fee_satoshis;
213-
boolean accept_underpaying_htlcs;
208+
u32 forwarding_fee_proportional_millionths = 0;
209+
u32 forwarding_fee_base_msat = 1000;
210+
u16 cltv_expiry_delta = 72;
211+
u64 max_dust_htlc_exposure_msat = 5000000;
212+
u64 force_close_avoidance_max_fee_satoshis = 1000;
213+
boolean accept_underpaying_htlcs = false;
214214
};
215215

216216
enum LogLevel {

0 commit comments

Comments
 (0)