Package org.bitcoinj.wallet
Interface Protos.TransactionInputOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
Protos.TransactionInput,Protos.TransactionInput.Builder
- Enclosing class:
- Protos
public static interface Protos.TransactionInputOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.ByteStringScript that contains the signatures/pubkeys.intSequence number.com.google.protobuf.ByteStringHash of the transaction this input is using.intIndex of transaction output used by this input.longgetValue()Value of connected output, if knownscript witnessbooleanScript that contains the signatures/pubkeys.booleanSequence number.booleanHash of the transaction this input is using.booleanIndex of transaction output used by this input.booleanhasValue()Value of connected output, if knownbooleanscript witnessMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
hasTransactionOutPointHash
boolean hasTransactionOutPointHash()Hash of the transaction this input is using.
required bytes transaction_out_point_hash = 1;- Returns:
- Whether the transactionOutPointHash field is set.
-
getTransactionOutPointHash
com.google.protobuf.ByteString getTransactionOutPointHash()Hash of the transaction this input is using.
required bytes transaction_out_point_hash = 1;- Returns:
- The transactionOutPointHash.
-
hasTransactionOutPointIndex
boolean hasTransactionOutPointIndex()Index of transaction output used by this input.
required uint32 transaction_out_point_index = 2;- Returns:
- Whether the transactionOutPointIndex field is set.
-
getTransactionOutPointIndex
int getTransactionOutPointIndex()Index of transaction output used by this input.
required uint32 transaction_out_point_index = 2;- Returns:
- The transactionOutPointIndex.
-
hasScriptBytes
boolean hasScriptBytes()Script that contains the signatures/pubkeys.
required bytes script_bytes = 3;- Returns:
- Whether the scriptBytes field is set.
-
getScriptBytes
com.google.protobuf.ByteString getScriptBytes()Script that contains the signatures/pubkeys.
required bytes script_bytes = 3;- Returns:
- The scriptBytes.
-
hasSequence
boolean hasSequence()Sequence number.
optional uint32 sequence = 4;- Returns:
- Whether the sequence field is set.
-
getSequence
int getSequence()Sequence number.
optional uint32 sequence = 4;- Returns:
- The sequence.
-
hasValue
boolean hasValue()Value of connected output, if known
optional int64 value = 5;- Returns:
- Whether the value field is set.
-
getValue
long getValue()Value of connected output, if known
optional int64 value = 5;- Returns:
- The value.
-
hasWitness
boolean hasWitness()script witness
optional .wallet.ScriptWitness witness = 6;- Returns:
- Whether the witness field is set.
-
getWitness
Protos.ScriptWitness getWitness()script witness
optional .wallet.ScriptWitness witness = 6;- Returns:
- The witness.
-