org.bitcoinj.wallet
Interface Protos.TransactionConfidenceOrBuilder
- All Superinterfaces:
- com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
- Protos.TransactionConfidence, Protos.TransactionConfidence.Builder
- Enclosing class:
- Protos
public static interface Protos.TransactionConfidenceOrBuilder
- 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 |
hasType
boolean hasType()
optional .wallet.TransactionConfidence.Type type = 1;
This is optional in case we add confidence types to prevent parse errors - backwards compatible.
getType
Protos.TransactionConfidence.Type getType()
optional .wallet.TransactionConfidence.Type type = 1;
This is optional in case we add confidence types to prevent parse errors - backwards compatible.
hasAppearedAtHeight
boolean hasAppearedAtHeight()
optional int32 appeared_at_height = 2;
If type == BUILDING then this is the chain height at which the transaction was included.
getAppearedAtHeight
int getAppearedAtHeight()
optional int32 appeared_at_height = 2;
If type == BUILDING then this is the chain height at which the transaction was included.
hasOverridingTransaction
boolean hasOverridingTransaction()
optional bytes overriding_transaction = 3;
If set, hash of the transaction that double spent this one into oblivion. A transaction can be double spent by
multiple transactions in the case of several inputs being re-spent by several transactions but we don't
bother to track them all, just the first. This only makes sense if type = DEAD.
getOverridingTransaction
com.google.protobuf.ByteString getOverridingTransaction()
optional bytes overriding_transaction = 3;
If set, hash of the transaction that double spent this one into oblivion. A transaction can be double spent by
multiple transactions in the case of several inputs being re-spent by several transactions but we don't
bother to track them all, just the first. This only makes sense if type = DEAD.
hasDepth
boolean hasDepth()
optional int32 depth = 4;
If type == BUILDING then this is the depth of the transaction in the blockchain.
Zero confirmations: depth = 0, one confirmation: depth = 1 etc.
getDepth
int getDepth()
optional int32 depth = 4;
If type == BUILDING then this is the depth of the transaction in the blockchain.
Zero confirmations: depth = 0, one confirmation: depth = 1 etc.
hasWorkDone
boolean hasWorkDone()
optional int64 work_done = 5;
If type == BUILDING then this is the cumulative workDone for the block the transaction appears in, together with
all blocks that bury it.
getWorkDone
long getWorkDone()
optional int64 work_done = 5;
If type == BUILDING then this is the cumulative workDone for the block the transaction appears in, together with
all blocks that bury it.
getBroadcastByList
List<Protos.PeerAddress> getBroadcastByList()
repeated .wallet.PeerAddress broadcast_by = 6;
getBroadcastBy
Protos.PeerAddress getBroadcastBy(int index)
repeated .wallet.PeerAddress broadcast_by = 6;
getBroadcastByCount
int getBroadcastByCount()
repeated .wallet.PeerAddress broadcast_by = 6;
getBroadcastByOrBuilderList
List<? extends Protos.PeerAddressOrBuilder> getBroadcastByOrBuilderList()
repeated .wallet.PeerAddress broadcast_by = 6;
getBroadcastByOrBuilder
Protos.PeerAddressOrBuilder getBroadcastByOrBuilder(int index)
repeated .wallet.PeerAddress broadcast_by = 6;
hasSource
boolean hasSource()
optional .wallet.TransactionConfidence.Source source = 7;
getSource
Protos.TransactionConfidence.Source getSource()
optional .wallet.TransactionConfidence.Source source = 7;
Copyright © 2014. All rights reserved.