Package | Description |
---|---|
org.bitcoinj.core |
The core package contains classes for network messages like
Block and
Transaction , peer connectivity via PeerGroup ,
block chain management and the Wallet class. |
org.bitcoinj.store |
Block stores persist blockchain data downloaded from remote peers.
|
Modifier and Type | Field and Description |
---|---|
List<StoredTransactionOutput> |
TransactionOutputChanges.txOutsCreated |
List<StoredTransactionOutput> |
TransactionOutputChanges.txOutsSpent |
Constructor and Description |
---|
TransactionOutputChanges(List<StoredTransactionOutput> txOutsCreated,
List<StoredTransactionOutput> txOutsSpent) |
TransactionOutputChanges(List<StoredTransactionOutput> txOutsCreated,
List<StoredTransactionOutput> txOutsSpent) |
Modifier and Type | Method and Description |
---|---|
StoredTransactionOutput |
PostgresFullPrunedBlockStore.getTransactionOutput(Sha256Hash hash,
long index) |
StoredTransactionOutput |
MemoryFullPrunedBlockStore.getTransactionOutput(Sha256Hash hash,
long index) |
StoredTransactionOutput |
H2FullPrunedBlockStore.getTransactionOutput(Sha256Hash hash,
long index) |
StoredTransactionOutput |
FullPrunedBlockStore.getTransactionOutput(Sha256Hash hash,
long index)
Gets a
StoredTransactionOutput with the given hash and index, or null if none is found |
Modifier and Type | Method and Description |
---|---|
void |
PostgresFullPrunedBlockStore.addUnspentTransactionOutput(StoredTransactionOutput out) |
void |
MemoryFullPrunedBlockStore.addUnspentTransactionOutput(StoredTransactionOutput out) |
void |
H2FullPrunedBlockStore.addUnspentTransactionOutput(StoredTransactionOutput out) |
void |
FullPrunedBlockStore.addUnspentTransactionOutput(StoredTransactionOutput out)
Adds a
StoredTransactionOutput to the list of unspent TransactionOutputs |
void |
PostgresFullPrunedBlockStore.removeUnspentTransactionOutput(StoredTransactionOutput out) |
void |
MemoryFullPrunedBlockStore.removeUnspentTransactionOutput(StoredTransactionOutput out) |
void |
H2FullPrunedBlockStore.removeUnspentTransactionOutput(StoredTransactionOutput out) |
void |
FullPrunedBlockStore.removeUnspentTransactionOutput(StoredTransactionOutput out)
Removes a
StoredTransactionOutput from the list of unspent TransactionOutputs
Note that the coinbase of the genesis block should NEVER be spendable and thus never in the list. |
Copyright © 2014. All rights reserved.