package
0.0.0-20201217075903-aecdb050f89d
Repository: https://github.com/lvbin2012/neuralchain.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
No description provided by the author

# Constants

TendermintMsg is the new message belong to neut/64.

# Variables

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.
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

Broadcaster defines the interface to enqueue blocks to fetcher and find peer.
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.
FullChainReader extends ChainReader with function StateAt to get validators for tendermint consensus.
Handler should be implemented is the consensus needs to handle and send peer's message.
Peer defines the interface to communicate with peer.
PoW is a consensus engine based on proof-of-work.
Tendermint is a consensus engine to avoid byzantine failure.