package
3.0.3+incompatible
Repository: https://github.com/truechain/truechain-engineering-code.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
Package minerva implements the truechain hybrid consensus engine.
No description provided by the author

# Functions

No description provided by the author
No description provided by the author
No description provided by the author

# Variables

ErrBlockOnChain is returned when validating a block but it isalready on the fast chain.
ErrForkFastBlock is returned when validating a block but the same number other block already in the chain.
No description provided by the author
ErrFruitTime is returned if the fruit's time less than fastblock's time.
ErrFutureBlock is returned when a block's timestamp is in the future according to the current node.
No description provided by the author
ErrInvalidFast is returned if the fastchain not have the hash.
ErrInvalidNumber is returned if a block's number doesn't equal it's parent's plus one.
No description provided by the author
ErrInvalidSignsLength If the number of returned committees and the results are inconsistent, return ErrInvalidSignsLength.
No description provided by the author
ErrPrunedAncestor is returned when validating a block requires an ancestor that is known, but the state of which is not available.
ErrTooFutureBlock is returned when a block's number is too future than the current fastblock.
ErrTooOldBlock is returned when a block's number is too old than the current fastblock.
ErrUnknownAncestor is returned when validating a block requires an ancestor that is unknown.
No description provided by the author
No description provided by the author
ErrValidSignsZero is returned if a block's signs length is zero.

# Interfaces

ChainReader defines a small collection of methods needed to access the local blockchain during header and/or uncle verification.
CommitteeElection module implementation committee interface.
Engine is an algorithm agnostic consensus engine.
PoW is a consensus engine based on proof-of-work.
No description provided by the author
SnailChainReader defines a small collection of methods needed to access the local block chain during header and/or uncle verification.