Class UpdateFee


  • public class UpdateFee
    extends Object
    An update_fee message to be sent or received from a peer
    • 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_feerate_per_kw

        public int get_feerate_per_kw()
        Fee rate per 1000-weight of the transaction
      • set_feerate_per_kw

        public void set_feerate_per_kw​(int val)
        Fee rate per 1000-weight of the transaction
      • of

        public static UpdateFee of​(byte[] channel_id_arg,
                                   int feerate_per_kw_arg)
        Constructs a new UpdateFee given each field
      • clone

        public UpdateFee clone()
        Creates a copy of the UpdateFee
        Overrides:
        clone in class Object
      • write

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