package
0.1.2
Repository: https://github.com/qwslane/go-quai.git
Documentation: pkg.go.dev

# Packages

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

# Functions

CalcWorkShareThreshold lowers the difficulty of the workShare header by thresholdDiff bits.
No description provided by the author
No description provided by the author

# Constants

No description provided by the author
staleThreshold is the maximum depth of the acceptable stale but valid solution.

# Variables

Various error messages to mark blocks invalid.
Various error messages to mark blocks invalid.
Various error messages to mark blocks invalid.
ErrFutureBlock is returned when a block's timestamp is in the future according to the current node.
Various error messages to mark blocks invalid.
Various error messages to mark blocks invalid.
ErrInvalidNumber is returned if a block's number doesn't equal its parent's plus one.
Various error messages to mark blocks invalid.
Various error messages to mark blocks invalid.
Various error messages to mark blocks invalid.
Various error messages to mark blocks invalid.
ErrPrunedAncestor is returned when validating a block requires an ancestor that is known, but the state of which is not available.
Various error messages to mark blocks invalid.
Various error messages to mark blocks invalid.
ErrUnknownAncestor is returned when validating a block requires an ancestor that is unknown.

# Interfaces

No description provided by the author
ChainHeaderReader defines a small collection of methods needed to access the local blockchain during header verification.
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.