Class TxAckRbf


  • public class TxAckRbf
    extends Object
    A tx_ack_rbf message which acknowledges replacement of the transaction after it's been completed.
    • Method Detail

      • get_channel_id

        public byte[] get_channel_id()
        The channel ID
      • set_channel_id

        public void set_channel_id​(byte[] val)
        The channel ID
      • get_funding_output_contribution

        public Option_i64Z get_funding_output_contribution()
        The number of satoshis the sender will contribute to or, if negative, remove from (e.g. splice-out) the funding output of the transaction
      • set_funding_output_contribution

        public void set_funding_output_contribution​(Option_i64Z val)
        The number of satoshis the sender will contribute to or, if negative, remove from (e.g. splice-out) the funding output of the transaction
      • of

        public static TxAckRbf of​(byte[] channel_id_arg,
                                  Option_i64Z funding_output_contribution_arg)
        Constructs a new TxAckRbf given each field
      • clone

        public TxAckRbf clone()
        Creates a copy of the TxAckRbf
        Overrides:
        clone in class Object
      • eq

        public boolean eq​(TxAckRbf b)
        Checks if two TxAckRbfs 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 TxAckRbf object into a byte array which can be read by TxAckRbf_read