package
0.0.0-20210126205931-b4cfd715f5ee
Repository: https://github.com/tao-network/tao2.git
Documentation: pkg.go.dev

# Packages

Package clique implements the proof-of-authority consensus engine.
Package ethash implements the ethash proof-of-work consensus engine.
No description provided by the author
Package posv implements the proof-of-stake-voting consensus engine.

# Variables

No description provided by the author
ErrFutureBlock is returned when a block's timestamp is in the future according to the current node.
ErrInvalidNumber is returned if a block's number doesn't equal it's parent's plus one.
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.
ErrUnknownAncestor is returned when validating a block requires an ancestor that is unknown.

# Interfaces

ChainContext supports retrieving headers and consensus parameters from the current blockchain to be used during transaction processing.
ChainReader defines a small collection of methods needed to access the local blockchain during header and/or uncle verification.
Engine is an algorithm agnostic consensus engine.
PoW is a consensus engine based on proof-of-work.