Class 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 Detail

      • 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
      • eq

        public boolean eq​(ClosingSignedFeeRange b)
        Checks if two ClosingSignedFeeRanges contain equal inner contents. This ignores pointers and is_owned flags and looks at the values in fields. Two objects with NULL inner values will be considered "equal" here.
      • write

        public byte[] write()
        Serialize the ClosingSignedFeeRange object into a byte array which can be read by ClosingSignedFeeRange_read