org.bitcoinj.wallet
Interface Protos.TransactionOrBuilder
- All Superinterfaces:
- com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
- Protos.Transaction, Protos.Transaction.Builder
- Enclosing class:
- Protos
public static interface Protos.TransactionOrBuilder
- extends com.google.protobuf.MessageOrBuilder
| Methods inherited from interface com.google.protobuf.MessageOrBuilder |
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField |
| Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder |
isInitialized |
hasVersion
boolean hasVersion()
required int32 version = 1;
See Wallet.java for detailed description of pool semantics
getVersion
int getVersion()
required int32 version = 1;
See Wallet.java for detailed description of pool semantics
hasHash
boolean hasHash()
required bytes hash = 2;
getHash
com.google.protobuf.ByteString getHash()
required bytes hash = 2;
hasPool
boolean hasPool()
optional .wallet.Transaction.Pool pool = 3;
If pool is not present, that means either:
- This Transaction is either not in a wallet at all (the proto is re-used elsewhere)
- Or it is stored but for other purposes, for example, because it is the overriding transaction of a double spend.
- Or the Pool enum got a new value which your software is too old to parse.
getPool
Protos.Transaction.Pool getPool()
optional .wallet.Transaction.Pool pool = 3;
If pool is not present, that means either:
- This Transaction is either not in a wallet at all (the proto is re-used elsewhere)
- Or it is stored but for other purposes, for example, because it is the overriding transaction of a double spend.
- Or the Pool enum got a new value which your software is too old to parse.
hasLockTime
boolean hasLockTime()
optional uint32 lock_time = 4;
The nLockTime field is useful for contracts.
getLockTime
int getLockTime()
optional uint32 lock_time = 4;
The nLockTime field is useful for contracts.
hasUpdatedAt
boolean hasUpdatedAt()
optional int64 updated_at = 5;
millis since epoch the transaction was last updated
getUpdatedAt
long getUpdatedAt()
optional int64 updated_at = 5;
millis since epoch the transaction was last updated
getTransactionInputList
List<Protos.TransactionInput> getTransactionInputList()
repeated .wallet.TransactionInput transaction_input = 6;
getTransactionInput
Protos.TransactionInput getTransactionInput(int index)
repeated .wallet.TransactionInput transaction_input = 6;
getTransactionInputCount
int getTransactionInputCount()
repeated .wallet.TransactionInput transaction_input = 6;
getTransactionInputOrBuilderList
List<? extends Protos.TransactionInputOrBuilder> getTransactionInputOrBuilderList()
repeated .wallet.TransactionInput transaction_input = 6;
getTransactionInputOrBuilder
Protos.TransactionInputOrBuilder getTransactionInputOrBuilder(int index)
repeated .wallet.TransactionInput transaction_input = 6;
getTransactionOutputList
List<Protos.TransactionOutput> getTransactionOutputList()
repeated .wallet.TransactionOutput transaction_output = 7;
getTransactionOutput
Protos.TransactionOutput getTransactionOutput(int index)
repeated .wallet.TransactionOutput transaction_output = 7;
getTransactionOutputCount
int getTransactionOutputCount()
repeated .wallet.TransactionOutput transaction_output = 7;
getTransactionOutputOrBuilderList
List<? extends Protos.TransactionOutputOrBuilder> getTransactionOutputOrBuilderList()
repeated .wallet.TransactionOutput transaction_output = 7;
getTransactionOutputOrBuilder
Protos.TransactionOutputOrBuilder getTransactionOutputOrBuilder(int index)
repeated .wallet.TransactionOutput transaction_output = 7;
getBlockHashList
List<com.google.protobuf.ByteString> getBlockHashList()
repeated bytes block_hash = 8;
A list of blocks in which the transaction has been observed (on any chain). Also, a number used to disambiguate
ordering within a block.
getBlockHashCount
int getBlockHashCount()
repeated bytes block_hash = 8;
A list of blocks in which the transaction has been observed (on any chain). Also, a number used to disambiguate
ordering within a block.
getBlockHash
com.google.protobuf.ByteString getBlockHash(int index)
repeated bytes block_hash = 8;
A list of blocks in which the transaction has been observed (on any chain). Also, a number used to disambiguate
ordering within a block.
getBlockRelativityOffsetsList
List<Integer> getBlockRelativityOffsetsList()
repeated int32 block_relativity_offsets = 11;
getBlockRelativityOffsetsCount
int getBlockRelativityOffsetsCount()
repeated int32 block_relativity_offsets = 11;
getBlockRelativityOffsets
int getBlockRelativityOffsets(int index)
repeated int32 block_relativity_offsets = 11;
hasConfidence
boolean hasConfidence()
optional .wallet.TransactionConfidence confidence = 9;
Data describing where the transaction is in the chain.
getConfidence
Protos.TransactionConfidence getConfidence()
optional .wallet.TransactionConfidence confidence = 9;
Data describing where the transaction is in the chain.
getConfidenceOrBuilder
Protos.TransactionConfidenceOrBuilder getConfidenceOrBuilder()
optional .wallet.TransactionConfidence confidence = 9;
Data describing where the transaction is in the chain.
hasPurpose
boolean hasPurpose()
optional .wallet.Transaction.Purpose purpose = 10 [default = UNKNOWN];
getPurpose
Protos.Transaction.Purpose getPurpose()
optional .wallet.Transaction.Purpose purpose = 10 [default = UNKNOWN];
Copyright © 2014. All rights reserved.