Package org.ldk.structs
Class ClosingSignedFeeRange
- java.lang.Object
-
- org.ldk.structs.ClosingSignedFeeRange
-
public class ClosingSignedFeeRange extends Object
The minimum and maximum fees which the sender is willing to place on the closing transaction. This is provided in [`ClosingSigned`] by both sides to indicate the fee range they are willing to use.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ClosingSignedFeeRange
clone()
Creates a copy of the ClosingSignedFeeRangeprotected void
finalize()
long
get_max_fee_satoshis()
The maximum absolute fee, in satoshis, which the sender is willing to place on the closing transaction.long
get_min_fee_satoshis()
The minimum absolute fee, in satoshis, which the sender is willing to place on the closing transaction.static ClosingSignedFeeRange
of(long min_fee_satoshis_arg, long max_fee_satoshis_arg)
Constructs a new ClosingSignedFeeRange given each fieldstatic Result_ClosingSignedFeeRangeDecodeErrorZ
read(byte[] ser)
Read a ClosingSignedFeeRange from a byte array, created by ClosingSignedFeeRange_writevoid
set_max_fee_satoshis(long val)
The maximum absolute fee, in satoshis, which the sender is willing to place on the closing transaction.void
set_min_fee_satoshis(long val)
The minimum absolute fee, in satoshis, which the sender is willing to place on the closing transaction.byte[]
write()
Serialize the ClosingSignedFeeRange object into a byte array which can be read by ClosingSignedFeeRange_read
-
-
-
Method Detail
-
finalize
protected void finalize() throws Throwable
-
get_min_fee_satoshis
public long get_min_fee_satoshis()
The minimum absolute fee, in satoshis, which the sender is willing to place on the closing transaction.
-
set_min_fee_satoshis
public void set_min_fee_satoshis(long val)
The minimum absolute fee, in satoshis, which the sender is willing to place on the closing transaction.
-
get_max_fee_satoshis
public long get_max_fee_satoshis()
The maximum absolute fee, in satoshis, which the sender is willing to place on the closing transaction.
-
set_max_fee_satoshis
public void set_max_fee_satoshis(long val)
The maximum absolute fee, in satoshis, which the sender is willing to place on the closing transaction.
-
of
public static ClosingSignedFeeRange of(long min_fee_satoshis_arg, long max_fee_satoshis_arg)
Constructs a new ClosingSignedFeeRange given each field
-
clone
public ClosingSignedFeeRange clone()
Creates a copy of the ClosingSignedFeeRange
-
write
public byte[] write()
Serialize the ClosingSignedFeeRange object into a byte array which can be read by ClosingSignedFeeRange_read
-
read
public static Result_ClosingSignedFeeRangeDecodeErrorZ read(byte[] ser)
Read a ClosingSignedFeeRange from a byte array, created by ClosingSignedFeeRange_write
-
-