Package org.ldk.structs
Class TxIn
- java.lang.Object
-
- org.ldk.structs.TxIn
-
public class TxIn extends Object
-
-
Field Summary
Fields Modifier and Type Field Description byte[]previous_txidThe txid this input is spendingintprevious_voutThe output index within the spent transaction of the output this input is spendingbyte[]script_sigThe script_sig in this inputintsequenceThe transaction output's sequence numberbyte[]witnessThe witness in this input, in serialized form
-
Constructor Summary
Constructors Constructor Description TxIn(byte[] witness, byte[] script_sig, int sequence, byte[] previous_txid, int previous_vout)Constructs a new TxIn, note that previous_txid must be exactly 32 bytes
-
-
-
Field Detail
-
witness
public final byte[] witness
The witness in this input, in serialized form
-
script_sig
public final byte[] script_sig
The script_sig in this input
-
sequence
public final int sequence
The transaction output's sequence number
-
previous_txid
public final byte[] previous_txid
The txid this input is spending
-
previous_vout
public final int previous_vout
The output index within the spent transaction of the output this input is spending
-
-