Package org.ldk.structs
Class ChannelConfigUpdate
- java.lang.Object
-
- org.ldk.structs.ChannelConfigUpdate
-
public class ChannelConfigUpdate extends Object
A parallel struct to [`ChannelConfig`] to define partial updates.
-
-
Method Summary
-
-
-
Method Detail
-
finalize
protected void finalize() throws Throwable
-
get_forwarding_fee_proportional_millionths
public Option_u32Z get_forwarding_fee_proportional_millionths()
-
set_forwarding_fee_proportional_millionths
public void set_forwarding_fee_proportional_millionths(Option_u32Z val)
-
get_forwarding_fee_base_msat
public Option_u32Z get_forwarding_fee_base_msat()
-
set_forwarding_fee_base_msat
public void set_forwarding_fee_base_msat(Option_u32Z val)
-
get_cltv_expiry_delta
public Option_u16Z get_cltv_expiry_delta()
-
set_cltv_expiry_delta
public void set_cltv_expiry_delta(Option_u16Z val)
-
get_max_dust_htlc_exposure_msat
public Option_MaxDustHTLCExposureZ get_max_dust_htlc_exposure_msat()
Returns a copy of the field.
-
set_max_dust_htlc_exposure_msat
public void set_max_dust_htlc_exposure_msat(Option_MaxDustHTLCExposureZ val)
-
get_force_close_avoidance_max_fee_satoshis
public Option_u64Z get_force_close_avoidance_max_fee_satoshis()
-
set_force_close_avoidance_max_fee_satoshis
public void set_force_close_avoidance_max_fee_satoshis(Option_u64Z val)
-
of
public static ChannelConfigUpdate of(Option_u32Z forwarding_fee_proportional_millionths_arg, Option_u32Z forwarding_fee_base_msat_arg, Option_u16Z cltv_expiry_delta_arg, Option_MaxDustHTLCExposureZ max_dust_htlc_exposure_msat_arg, Option_u64Z force_close_avoidance_max_fee_satoshis_arg)
Constructs a new ChannelConfigUpdate given each field
-
with_default
public static ChannelConfigUpdate with_default()
Creates a "default" ChannelConfigUpdate. See struct and individual field documentaiton for details on which values are used.
-
-