Package org.ldk.structs
Class TxRemoveInput
- java.lang.Object
-
- org.ldk.structs.TxRemoveInput
-
public class TxRemoveInput extends Object
A tx_remove_input message for removing an input during interactive transaction construction.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TxRemoveInputclone()Creates a copy of the TxRemoveInputbooleaneq(TxRemoveInput b)Checks if two TxRemoveInputs contain equal inner contents.booleanequals(Object o)protected voidfinalize()byte[]get_channel_id()The channel IDlongget_serial_id()The serial ID of the input to be removedstatic TxRemoveInputof(byte[] channel_id_arg, long serial_id_arg)Constructs a new TxRemoveInput given each fieldstatic Result_TxRemoveInputDecodeErrorZread(byte[] ser)Read a TxRemoveInput from a byte array, created by TxRemoveInput_writevoidset_channel_id(byte[] val)The channel IDvoidset_serial_id(long val)The serial ID of the input to be removedbyte[]write()Serialize the TxRemoveInput object into a byte array which can be read by TxRemoveInput_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_serial_id
public long get_serial_id()
The serial ID of the input to be removed
-
set_serial_id
public void set_serial_id(long val)
The serial ID of the input to be removed
-
of
public static TxRemoveInput of(byte[] channel_id_arg, long serial_id_arg)
Constructs a new TxRemoveInput given each field
-
clone
public TxRemoveInput clone()
Creates a copy of the TxRemoveInput
-
eq
public boolean eq(TxRemoveInput b)
Checks if two TxRemoveInputs 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 TxRemoveInput object into a byte array which can be read by TxRemoveInput_read
-
read
public static Result_TxRemoveInputDecodeErrorZ read(byte[] ser)
Read a TxRemoveInput from a byte array, created by TxRemoveInput_write
-
-