<invalid inheritdoc annotation>
Represens the state of a batch of BlockHeaders being added to our blockchain
A base class for various types of block chain exceptions
Chain Handler is meant to be the reference implementation of ChainApi, this is the entry point in to the chain project.
Chain Handler is meant to be the reference implementation of ChainApi, this is the entry point in to the chain project.
block header DB
filter header DB
filter DB
current blockchains
compact filter checkpoints for filter header verification in form of a map (block header hash -> filter header hash)
config file
The result indicating how the TipUpdateResult modified the chain.
The result indicating how the TipUpdateResult modified the chain.
We can
1. Extend the chain 2. Reorg the chain 3. Fail to connect to anything in the chain
org.bitcoins.chain.blockchain.ChainHandler tried to process multiple filters for the same block hash
The given block range is invalid
org.bitcoins.chain.blockchain.ChainHandler cannot find a blockchain item by its block hash
org.bitcoins.chain.blockchain.ChainHandler cannot find a blockchain item by its height
org.bitcoins.chain.blockchain.ChainHandler cannot find a compact filter or header by its filter hash
Represens the state of a batch of BlockHeaders being added to our blockchain
An example of a Failed update is when we receive a BlockHeader that is invalid and because of a TipUpdateFailure because of BadPOW or a BadNonce etc