Package org.ldk.structs
Class FundingSigned
- java.lang.Object
-
- org.ldk.structs.FundingSigned
-
public class FundingSigned extends Object
A funding_signed message to be sent or received from a peer
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description FundingSigned
clone()
Creates a copy of the FundingSignedprotected void
finalize()
byte[]
get_channel_id()
The channel IDbyte[]
get_signature()
The signature of the channel acceptor (fundee) on the initial commitment transactionstatic FundingSigned
of(byte[] channel_id_arg, byte[] signature_arg)
Constructs a new FundingSigned given each fieldstatic Result_FundingSignedDecodeErrorZ
read(byte[] ser)
Read a FundingSigned from a byte array, created by FundingSigned_writevoid
set_channel_id(byte[] val)
The channel IDvoid
set_signature(byte[] val)
The signature of the channel acceptor (fundee) on the initial commitment transactionbyte[]
write()
Serialize the FundingSigned object into a byte array which can be read by FundingSigned_read
-
-
-
Method Detail
-
finalize
protected void finalize() throws Throwable
-
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_signature
public byte[] get_signature()
The signature of the channel acceptor (fundee) on the initial commitment transaction
-
set_signature
public void set_signature(byte[] val)
The signature of the channel acceptor (fundee) on the initial commitment transaction
-
of
public static FundingSigned of(byte[] channel_id_arg, byte[] signature_arg)
Constructs a new FundingSigned given each field
-
clone
public FundingSigned clone()
Creates a copy of the FundingSigned
-
write
public byte[] write()
Serialize the FundingSigned object into a byte array which can be read by FundingSigned_read
-
read
public static Result_FundingSignedDecodeErrorZ read(byte[] ser)
Read a FundingSigned from a byte array, created by FundingSigned_write
-
-