Package org.ldk.structs
Class TxComplete
- java.lang.Object
-
- org.ldk.structs.TxComplete
-
public class TxComplete extends Object
A tx_complete message signalling the conclusion of a peer's transaction contributions during interactive transaction construction.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TxCompleteclone()Creates a copy of the TxCompletebooleaneq(TxComplete b)Checks if two TxCompletes contain equal inner contents.booleanequals(Object o)protected voidfinalize()byte[]get_channel_id()The channel IDstatic TxCompleteof(byte[] channel_id_arg)Constructs a new TxComplete given each fieldstatic Result_TxCompleteDecodeErrorZread(byte[] ser)Read a TxComplete from a byte array, created by TxComplete_writevoidset_channel_id(byte[] val)The channel IDbyte[]write()Serialize the TxComplete object into a byte array which can be read by TxComplete_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
-
of
public static TxComplete of(byte[] channel_id_arg)
Constructs a new TxComplete given each field
-
clone
public TxComplete clone()
Creates a copy of the TxComplete
-
eq
public boolean eq(TxComplete b)
Checks if two TxCompletes contain equal inner contents. This ignores pointers and is_owned flags and looks at the values in fields. Two objects with NULL inner values will be considered "equal" here.
-
write
public byte[] write()
Serialize the TxComplete object into a byte array which can be read by TxComplete_read
-
read
public static Result_TxCompleteDecodeErrorZ read(byte[] ser)
Read a TxComplete from a byte array, created by TxComplete_write
-
-