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.store |
Block stores persist blockchain data downloaded from remote peers.
|
org.bitcoinj.wallet |
Classes that support the
Wallet , which knows how to find and save transactions relevant to
a set of keys or scripts, calculate balances, and spend money: the wallet has many features and can be extended
in various ways, please refer to the website for documentation on how to use it. |
Modifier and Type | Field and Description |
---|---|
List<UTXO> |
TransactionOutputChanges.txOutsCreated |
List<UTXO> |
TransactionOutputChanges.txOutsSpent |
Modifier and Type | Method and Description |
---|---|
List<UTXO> |
UTXOProvider.getOpenTransactionOutputs(List<Address> addresses)
Get the list of
UTXO 's for a given address. |
Constructor and Description |
---|
TransactionOutputChanges(List<UTXO> txOutsCreated,
List<UTXO> txOutsSpent) |
TransactionOutputChanges(List<UTXO> txOutsCreated,
List<UTXO> txOutsSpent) |
Modifier and Type | Field and Description |
---|---|
protected Map<ByteBuffer,UTXO> |
LevelDBFullPrunedBlockStore.utxoCache |
protected Map<ByteBuffer,UTXO> |
LevelDBFullPrunedBlockStore.utxoUncommittedCache |
Modifier and Type | Method and Description |
---|---|
UTXO |
MemoryFullPrunedBlockStore.getTransactionOutput(Sha256Hash hash,
long index) |
UTXO |
LevelDBFullPrunedBlockStore.getTransactionOutput(Sha256Hash hash,
long index) |
UTXO |
DatabaseFullPrunedBlockStore.getTransactionOutput(Sha256Hash hash,
long index) |
UTXO |
FullPrunedBlockStore.getTransactionOutput(Sha256Hash hash,
long index)
Gets a
UTXO with the given hash and index, or null if none is found |
Modifier and Type | Method and Description |
---|---|
List<UTXO> |
MemoryFullPrunedBlockStore.getOpenTransactionOutputs(List<Address> addresses) |
List<UTXO> |
LevelDBFullPrunedBlockStore.getOpenTransactionOutputs(List<Address> addresses) |
List<UTXO> |
DatabaseFullPrunedBlockStore.getOpenTransactionOutputs(List<Address> addresses) |
Modifier and Type | Method and Description |
---|---|
void |
MemoryFullPrunedBlockStore.addUnspentTransactionOutput(UTXO out) |
void |
LevelDBFullPrunedBlockStore.addUnspentTransactionOutput(UTXO out) |
void |
DatabaseFullPrunedBlockStore.addUnspentTransactionOutput(UTXO out) |
void |
FullPrunedBlockStore.addUnspentTransactionOutput(UTXO out)
Adds a
UTXO to the list of unspent TransactionOutputs |
void |
MemoryFullPrunedBlockStore.removeUnspentTransactionOutput(UTXO out) |
void |
LevelDBFullPrunedBlockStore.removeUnspentTransactionOutput(UTXO out) |
void |
DatabaseFullPrunedBlockStore.removeUnspentTransactionOutput(UTXO out) |
void |
FullPrunedBlockStore.removeUnspentTransactionOutput(UTXO out)
Removes a
UTXO from the list of unspent TransactionOutputs
Note that the coinbase of the genesis block should NEVER be spendable and thus never in the list. |
Modifier and Type | Method and Description |
---|---|
protected boolean |
LevelDBFullPrunedBlockStore.LRUCache.removeEldestEntry(Map.Entry<ByteBuffer,UTXO> eldest) |
Modifier and Type | Method and Description |
---|---|
protected List<UTXO> |
Wallet.getStoredOutputsFromUTXOProvider()
Get all the
UTXO 's from the UTXOProvider based on keys that the
wallet contains. |
Copyright © 2016. All rights reserved.