# Functions
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
IsBlockNonceErr returns true for invalid block nonce errors.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Creates and returns a `BlockCache` with `size`.
Utility functions for making chains on the fly Exposed for sake of testing from other packages (eg.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Create a new filter which uses a bloom filter on blocks to figure out whether a particular block is interesting or not.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
See YP section 4.3.4.
No description provided by the author
No description provided by the author
# Constants
must be bumped when consensus algorithm is changed, this forces the upgradedb command to be run (forces the blocks to be imported again using the new algorithm).
# Variables
Set of manually tracked bad hashes (usually hard forks).
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
So we can deterministically seed different blockchains.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Transaction Pool Errors.
No description provided by the author
No description provided by the author
No description provided by the author
So we can deterministically seed different blockchains.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
BlockCache implements a caching mechanism specifically for blocks and uses FILO to pop.
BlockNonceErr indicates that a block's nonce is invalid.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ChainSplit is posted when a new head is detected.
No description provided by the author
No description provided by the author
So we can generate blocks easily.
Filtering interface.
No description provided by the author
No description provided by the author
No description provided by the author
NewBlockEvent is posted when a block has been imported.
NewMinedBlockEvent is posted when a block has been imported.
No description provided by the author
No description provided by the author
Parent error.
No description provided by the author
Mining operation events.
* The State transitioning model
*
* A state transition is a change made when a transaction is applied to the current world state
* The state transitioning model does all all the necessary work to work out a valid new state root.
No description provided by the author
No description provided by the author
TxPool contains all currently known transactions.
TxPostEvent is posted when a transaction has been processed.
TxPreEvent is posted when a transaction enters the transaction pool.
No description provided by the author
Block validation error.
No description provided by the author
No description provided by the author