Class AnnouncementSignatures


  • public class AnnouncementSignatures
    extends Object
    An announcement_signatures 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_short_channel_id

        public long get_short_channel_id()
        The short channel ID
      • set_short_channel_id

        public void set_short_channel_id​(long val)
        The short channel ID
      • get_node_signature

        public byte[] get_node_signature()
        A signature by the node key
      • set_node_signature

        public void set_node_signature​(byte[] val)
        A signature by the node key
      • get_bitcoin_signature

        public byte[] get_bitcoin_signature()
        A signature by the funding key
      • set_bitcoin_signature

        public void set_bitcoin_signature​(byte[] val)
        A signature by the funding key
      • of

        public static AnnouncementSignatures of​(byte[] channel_id_arg,
                                                long short_channel_id_arg,
                                                byte[] node_signature_arg,
                                                byte[] bitcoin_signature_arg)
        Constructs a new AnnouncementSignatures given each field
      • write

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