-
- All Implemented Interfaces:
-
java.lang.AutoCloseable,org.lightningdevkit.ldknode.ChannelConfigInterface,org.lightningdevkit.ldknode.Disposable
public class ChannelConfig extends FFIObject implements ChannelConfigInterface
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classChannelConfig.Companion
-
Constructor Summary
Constructors Constructor Description ChannelConfig(Pointer pointer)ChannelConfig(NoPointer noPointer)This constructor can be used to instantiate a fake object. ChannelConfig()
-
Method Summary
Modifier and Type Method Description PointeruniffiClonePointer()BooleanacceptUnderpayingHtlcs()UShortcltvExpiryDelta()ULongforceCloseAvoidanceMaxFeeSatoshis()UIntforwardingFeeBaseMsat()UIntforwardingFeeProportionalMillionths()UnitsetAcceptUnderpayingHtlcs(Boolean value)UnitsetCltvExpiryDelta(UShort value)UnitsetForceCloseAvoidanceMaxFeeSatoshis(ULong valueSat)UnitsetForwardingFeeBaseMsat(UInt feeMsat)UnitsetForwardingFeeProportionalMillionths(UInt value)UnitsetMaxDustHtlcExposureFromFeeRateMultiplier(ULong multiplier)UnitsetMaxDustHtlcExposureFromFixedLimit(ULong limitMsat)-
-
Constructor Detail
-
ChannelConfig
ChannelConfig(Pointer pointer)
-
ChannelConfig
ChannelConfig(NoPointer noPointer)
This constructor can be used to instantiate a fake object.- Parameters:
noPointer- Placeholder value so we can have a constructor separate from the default empty one that may be implemented for classes extending FFIObject.
-
ChannelConfig
ChannelConfig()
-
-
Method Detail
-
uniffiClonePointer
Pointer uniffiClonePointer()
-
acceptUnderpayingHtlcs
Boolean acceptUnderpayingHtlcs()
-
cltvExpiryDelta
UShort cltvExpiryDelta()
-
forceCloseAvoidanceMaxFeeSatoshis
ULong forceCloseAvoidanceMaxFeeSatoshis()
-
forwardingFeeBaseMsat
UInt forwardingFeeBaseMsat()
-
forwardingFeeProportionalMillionths
UInt forwardingFeeProportionalMillionths()
-
setAcceptUnderpayingHtlcs
Unit setAcceptUnderpayingHtlcs(Boolean value)
-
setCltvExpiryDelta
Unit setCltvExpiryDelta(UShort value)
-
setForceCloseAvoidanceMaxFeeSatoshis
Unit setForceCloseAvoidanceMaxFeeSatoshis(ULong valueSat)
-
setForwardingFeeBaseMsat
Unit setForwardingFeeBaseMsat(UInt feeMsat)
-
setForwardingFeeProportionalMillionths
Unit setForwardingFeeProportionalMillionths(UInt value)
-
setMaxDustHtlcExposureFromFeeRateMultiplier
Unit setMaxDustHtlcExposureFromFeeRateMultiplier(ULong multiplier)
-
setMaxDustHtlcExposureFromFixedLimit
Unit setMaxDustHtlcExposureFromFixedLimit(ULong limitMsat)
-
-
-
-