Class FundingLocked


  • public class FundingLocked
    extends Object
    A funding_locked 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_per_commitment_point

        public byte[] get_next_per_commitment_point()
        The per-commitment point of the second commitment transaction
      • set_next_per_commitment_point

        public void set_next_per_commitment_point​(byte[] val)
        The per-commitment point of the second commitment transaction
      • of

        public static FundingLocked of​(byte[] channel_id_arg,
                                       byte[] next_per_commitment_point_arg)
        Constructs a new FundingLocked given each field
      • write

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