Package | Description |
---|---|
com.google.bitcoin.core |
Modifier and Type | Method and Description |
---|---|
protected TransactionOutputChanges |
FullPrunedBlockChain.connectTransactions(int height,
Block block) |
protected TransactionOutputChanges |
BlockChain.connectTransactions(int height,
Block block) |
protected abstract TransactionOutputChanges |
AbstractBlockChain.connectTransactions(int height,
Block block)
Connect each transaction in block.transactions, verifying them as we go and removing spent outputs
If an error is encountered in a transaction, no changes should be made to the underlying BlockStore.
|
protected TransactionOutputChanges |
FullPrunedBlockChain.connectTransactions(StoredBlock newBlock) |
protected TransactionOutputChanges |
BlockChain.connectTransactions(StoredBlock newBlock) |
protected abstract TransactionOutputChanges |
AbstractBlockChain.connectTransactions(StoredBlock newBlock)
Load newBlock from BlockStore and connect its transactions, returning changes to the set of unspent transactions.
|
TransactionOutputChanges |
StoredUndoableBlock.getTxOutChanges()
Get the transaction output changes if they have been calculated, otherwise null.
|
Modifier and Type | Method and Description |
---|---|
protected StoredBlock |
FullPrunedBlockChain.addToBlockStore(StoredBlock storedPrev,
Block header,
TransactionOutputChanges txOutChanges) |
protected StoredBlock |
BlockChain.addToBlockStore(StoredBlock storedPrev,
Block blockHeader,
TransactionOutputChanges txOutChanges) |
protected abstract StoredBlock |
AbstractBlockChain.addToBlockStore(StoredBlock storedPrev,
Block header,
TransactionOutputChanges txOutputChanges)
Adds/updates the given
StoredBlock with the block store. |
Constructor and Description |
---|
StoredUndoableBlock(Sha256Hash hash,
TransactionOutputChanges txOutChanges) |
Copyright © 2014. All rights reserved.