- add
- addListener
Replaced with more specific listener methods: use them instead.
- addNewBestBlockListener
Adds a NewBestBlockListener listener to the chain.
- addReorganizeListener
Adds a generic ReorganizeListener listener to the chain.
- addToBlockStore
Adds/updates the given StoredBlock with the block store. This version is used
when the transactions
- addTransactionReceivedListener
Adds a generic TransactionReceivedInBlockListener listener to the chain.
- connectTransactions
Load newBlock from BlockStore and connect its transactions, returning changes to
the set of unspent
- disconnectTransactions
Disconnect each transaction in the block (after reading it from the block store)
Only called if(shou
- doSetChainHead
Called before setting chain head in memory. Should write the new head to block
store and then commit
- drainOrphanBlocks
Returns the hashes of the currently stored orphan blocks and then deletes them
from this objects sto
- estimateBlockTime
Returns an estimate of when the given block will be reached, assuming a perfect
10 minute average fo
- findSplit
Locates the point in the chain at which newStoredBlock and chainHead diverge.
Returns null if no spl