Class ChannelReestablish


  • public class ChannelReestablish
    extends Object
    A channel_reestablish 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_next_local_commitment_number

        public long get_next_local_commitment_number()
        The next commitment number for the sender
      • set_next_local_commitment_number

        public void set_next_local_commitment_number​(long val)
        The next commitment number for the sender
      • get_next_remote_commitment_number

        public long get_next_remote_commitment_number()
        The next commitment number for the recipient
      • set_next_remote_commitment_number

        public void set_next_remote_commitment_number​(long val)
        The next commitment number for the recipient
      • write

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