package
1.10.2
Repository: https://github.com/ethercore/go-ethercore.git
Documentation: pkg.go.dev

# Functions

CalcDifficulty is the difficulty adjustment algorithm.
CliqueRLP returns the rlp bytes which needs to be signed for the proof-of-authority sealing.
New creates a Clique proof-of-authority consensus engine with the initial signers set to the ones provided by the user.
SealHash returns the hash of a block prior to it being sealed.

# Variables

ErrInvalidTimestamp is returned if the timestamp of a block is lower than the previous block's timestamp + the minimum block period.

# Structs

API is a user facing RPC API to allow controlling the signer and voting mechanisms of the proof-of-authority scheme.
Clique is the proof-of-authority consensus engine proposed to support the Ethereum testnet following the Ropsten attacks.
Snapshot is the state of the authorization voting at a given point in time.
Tally is a simple vote tally to keep the current score of votes.
Vote represents a single vote that an authorized signer made to modify the list of authorizations.

# Type aliases

SignerFn is a signer callback function to request a header to be signed by a backing account.