Package org.ldk.structs
Class FundingCreated
- java.lang.Object
-
- org.ldk.structs.FundingCreated
-
public class FundingCreated extends Object
A funding_created message to be sent or received from a peer
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description FundingCreated
clone()
Creates a copy of the FundingCreatedprotected void
finalize()
short
get_funding_output_index()
The specific output index funding this channelbyte[]
get_funding_txid()
The funding transaction IDbyte[]
get_signature()
The signature of the channel initiator (funder) on the initial commitment transactionbyte[]
get_temporary_channel_id()
A temporary channel ID, until the funding is establishedstatic 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 fieldstatic Result_FundingCreatedDecodeErrorZ
read(byte[] ser)
Read a FundingCreated from a byte array, created by FundingCreated_writevoid
set_funding_output_index(short val)
The specific output index funding this channelvoid
set_funding_txid(byte[] val)
The funding transaction IDvoid
set_signature(byte[] val)
The signature of the channel initiator (funder) on the initial commitment transactionvoid
set_temporary_channel_id(byte[] val)
A temporary channel ID, until the funding is establishedbyte[]
write()
Serialize the FundingCreated object into a byte array which can be read by FundingCreated_read
-
-
-
Method Detail
-
finalize
protected void finalize() throws Throwable
-
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 initial commitment transaction
-
set_signature
public void set_signature(byte[] val)
The signature of the channel initiator (funder) on the initial commitment 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
-
clone
public FundingCreated clone()
Creates a copy of the FundingCreated
-
write
public byte[] write()
Serialize the FundingCreated object into a byte array which can be read by FundingCreated_read
-
read
public static Result_FundingCreatedDecodeErrorZ read(byte[] ser)
Read a FundingCreated from a byte array, created by FundingCreated_write
-
-