Package | Description |
---|---|
org.bitcoinj.core |
The core package contains classes for network messages like
Block and
Transaction , peer connectivity via PeerGroup ,
and block chain management. |
org.bitcoinj.jni |
Modifier and Type | Method and Description |
---|---|
TransactionConfidence |
TransactionConfidence.duplicate()
Returns a copy of this object.
|
TransactionConfidence |
TxConfidenceTable.get(Sha256Hash hash)
Returns the
TransactionConfidence for the given hash if we have downloaded it, or null if that tx hash
is unknown to the system at this time. |
TransactionConfidence |
Transaction.getConfidence()
Returns the confidence object for this transaction from the
TxConfidenceTable
referenced by the implicit Context . |
TransactionConfidence |
Transaction.getConfidence(Context context)
Returns the confidence object for this transaction from the
TxConfidenceTable
referenced by the given Context . |
TransactionConfidence |
Transaction.getConfidence(TxConfidenceTable table)
Returns the confidence object for this transaction from the
TxConfidenceTable |
TransactionConfidence |
TxConfidenceTable.getOrCreate(Sha256Hash hash)
Returns the
TransactionConfidence for the given hash if we have downloaded it, or null if that tx hash
is unknown to the system at this time. |
TransactionConfidence |
TxConfidenceTable.seen(Sha256Hash hash,
PeerAddress byPeer)
Called by peers when they see a transaction advertised in an "inv" message.
|
Modifier and Type | Method and Description |
---|---|
ListenableFuture<TransactionConfidence> |
TransactionConfidence.getDepthFuture(int depth) |
ListenableFuture<TransactionConfidence> |
TransactionConfidence.getDepthFuture(int depth,
Executor executor)
Returns a future that completes when the transaction has been confirmed by "depth" blocks.
|
Modifier and Type | Method and Description |
---|---|
void |
TransactionConfidence.Listener.onConfidenceChanged(TransactionConfidence confidence,
TransactionConfidence.Listener.ChangeReason reason) |
Modifier and Type | Method and Description |
---|---|
void |
NativeTransactionConfidenceListener.onConfidenceChanged(TransactionConfidence confidence,
TransactionConfidence.Listener.ChangeReason reason) |
Copyright © 2016. All rights reserved.