# Packages
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
Package mpt implements MPT (Merkle-Patricia Tree).
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
# Functions
NewBlockchain returns a new blockchain object the will use the given Store as its underlying storage.
# Variables
ErrAlreadyExists is returned when trying to add some already existing transaction into the pool (not specifying whether it exists in the chain or mempool).
ErrHasConflicts is returned when trying to add some transaction which conflicts with other transaction in the chain or pool according to Conflicts attribute.
Various errors that could be returns upon header verification.
Various errors that could be returns upon header verification.
Various errors that could be returns upon header verification.
Various errors that could be returns upon header verification.
Various errors that could be returns upon header verification.
Various errors that could be returned upon verification.
Various errors that could be returned upon verification.
ErrInvalidBlockIndex is returned when trying to add block with index other than expected height of the blockchain.
Various witness verification errors.
Various errors that could be returned upon verification.
Various witness verification errors.
Various witness verification errors.
Various errors that could be returned upon verification.
ErrOOM is returned when adding transaction to the memory pool because it reached its full capacity.
ErrPolicy is returned on attempt to add transaction that doesn't comply with node's configured policy into the mempool.
Various errors that could be returned upon verification.
Various errors that could be returned upon verification.
Various errors that could be returned upon verification.
Various witness verification errors.
Various witness verification errors.
# Structs
Blockchain represents the blockchain.