Class FundingCreated


  • public class FundingCreated
    extends Object
    A funding_created message to be sent or received from a peer
    • Method Detail

      • get_temporary_channel_id

        public byte[] get_temporary_channel_id()
        A temporary channel ID, until the funding is established
      • set_temporary_channel_id

        public void set_temporary_channel_id​(byte[] val)
        A temporary channel ID, until the funding is established
      • get_funding_txid

        public byte[] get_funding_txid()
        The funding transaction ID
      • set_funding_txid

        public void set_funding_txid​(byte[] val)
        The funding transaction ID
      • get_funding_output_index

        public short get_funding_output_index()
        The specific output index funding this channel
      • set_funding_output_index

        public void set_funding_output_index​(short val)
        The specific output index funding this channel
      • get_signature

        public byte[] get_signature()
        The signature of the channel initiator (funder) on the funding transaction
      • set_signature

        public void set_signature​(byte[] val)
        The signature of the channel initiator (funder) on the funding transaction
      • of

        public static FundingCreated of​(byte[] temporary_channel_id_arg,
                                        byte[] funding_txid_arg,
                                        short funding_output_index_arg,
                                        byte[] signature_arg)
        Constructs a new FundingCreated given each field
      • write

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