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. |
Modifier and Type | Method and Description |
---|---|
boolean |
AbstractBlockChain.add(Block block)
Processes a received block and tries to add it to the chain.
|
boolean |
BlockChain.add(FilteredBlock block) |
boolean |
AbstractBlockChain.add(FilteredBlock block)
Processes a received block and tries to add it to the chain.
|
protected TransactionOutputChanges |
FullPrunedBlockChain.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.
|
protected void |
FullPrunedBlockChain.disconnectTransactions(StoredBlock oldBlock)
This is broken for blocks that do not pass BIP30, so all BIP30-failing blocks which are allowed to fail BIP30
must be checkpointed.
|
protected abstract void |
AbstractBlockChain.disconnectTransactions(StoredBlock block)
Disconnect each transaction in the block (after reading it from the block store)
Only called if(shouldVerifyTransactions())
|
Copyright © 2014. All rights reserved.