Package org.ldk.structs
Class FundingLocked
- java.lang.Object
-
- org.ldk.structs.FundingLocked
-
public class FundingLocked extends Object
A funding_locked message to be sent or received from a peer
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description FundingLocked
clone()
Creates a copy of the FundingLockedprotected void
finalize()
byte[]
get_channel_id()
The channel IDbyte[]
get_next_per_commitment_point()
The per-commitment point of the second commitment transactionstatic FundingLocked
of(byte[] channel_id_arg, byte[] next_per_commitment_point_arg)
Constructs a new FundingLocked given each fieldstatic Result_FundingLockedDecodeErrorZ
read(byte[] ser)
Read a FundingLocked from a byte array, created by FundingLocked_writevoid
set_channel_id(byte[] val)
The channel IDvoid
set_next_per_commitment_point(byte[] val)
The per-commitment point of the second commitment transactionbyte[]
write()
Serialize the FundingLocked object into a byte array which can be read by FundingLocked_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_next_per_commitment_point
public byte[] get_next_per_commitment_point()
The per-commitment point of the second commitment transaction
-
set_next_per_commitment_point
public void set_next_per_commitment_point(byte[] val)
The per-commitment point of the second commitment transaction
-
of
public static FundingLocked of(byte[] channel_id_arg, byte[] next_per_commitment_point_arg)
Constructs a new FundingLocked given each field
-
clone
public FundingLocked clone()
Creates a copy of the FundingLocked
-
write
public byte[] write()
Serialize the FundingLocked object into a byte array which can be read by FundingLocked_read
-
read
public static Result_FundingLockedDecodeErrorZ read(byte[] ser)
Read a FundingLocked from a byte array, created by FundingLocked_write
-
-