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 FundingSignedclone()Creates a copy of the FundingSignedprotected voidfinalize()byte[]get_channel_id()The channel IDbyte[]get_signature()The signature of the channel acceptor (fundee) on the funding transactionstatic FundingSignedof(byte[] channel_id_arg, byte[] signature_arg)Constructs a new FundingSigned given each fieldstatic Result_FundingSignedDecodeErrorZread(byte[] ser)Read a FundingSigned from a byte array, created by FundingSigned_writevoidset_channel_id(byte[] val)The channel IDvoidset_signature(byte[] val)The signature of the channel acceptor (fundee) on the funding 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 funding transaction
-
set_signature
public void set_signature(byte[] val)
The signature of the channel acceptor (fundee) on the funding 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
-
-