package
4.2.0+incompatible
Repository: https://github.com/intfoundation/intchain.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Constants

Constants to match up protocol versions and messages.
Constants to match up protocol versions and messages.

# 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.
No description provided by the author

# Structs

Protocol defines the protocol of the consensus.

# 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.
ChainValidator execute and validate the block with the current latest block as parent.
Engine is an algorithm agnostic consensus engine.
No description provided by the author
Handler should be implemented is the consensus needs to handle and send peer's message.
IPBFT is a consensus engine to avoid byzantine failure.
Peer defines the interface to communicate with peer.
No description provided by the author