Versions in this module Expand all Collapse all v22 v22.4.2 Apr 28, 2022 Changes in this version + func CliqueRLP(header *types.Header) []byte + func SealHash(header *types.Header) (hash common.Hash) + type API struct + func (api *API) Discard(address common.Address) + func (api *API) GetSigners(number *rpc.BlockNumber) ([]common.Address, error) + func (api *API) GetSignersAtHash(hash common.Hash) ([]common.Address, error) + func (api *API) GetSnapshot(number *rpc.BlockNumber) (*Snapshot, error) + func (api *API) GetSnapshotAtHash(hash common.Hash) (*Snapshot, error) + func (api *API) Proposals() map[common.Address]bool + func (api *API) Propose(address common.Address, auth bool) + func (api *API) Status(startBlockNum *rpc.BlockNumber, endBlockNum *rpc.BlockNumber) (*Status, error) + type Clique struct + func New(config *params.CliqueConfig, db ethdb.Database) *Clique + func (c *Clique) APIs(chain consensus.ChainHeaderReader) []rpc.API + func (c *Clique) Author(header *types.Header) (common.Address, error) + func (c *Clique) Authorize(signer common.Address, signFn SignerFn) + func (c *Clique) CalcDifficulty(chain consensus.ChainHeaderReader, time uint64, parent *types.Header) *big.Int + func (c *Clique) Close() error + func (c *Clique) Finalize(chain consensus.ChainHeaderReader, header *types.Header, state *state.StateDB, ...) + func (c *Clique) FinalizeAndAssemble(chain consensus.ChainHeaderReader, header *types.Header, state *state.StateDB, ...) (*types.Block, error) + func (c *Clique) Prepare(chain consensus.ChainHeaderReader, header *types.Header) error + func (c *Clique) Protocol() consensus.Protocol + func (c *Clique) Seal(chain consensus.ChainHeaderReader, block *types.Block, ...) error + func (c *Clique) SealHash(header *types.Header) common.Hash + func (c *Clique) VerifyHeader(chain consensus.ChainHeaderReader, header *types.Header, seal bool) error + func (c *Clique) VerifyHeaders(chain consensus.ChainHeaderReader, headers []*types.Header, seals []bool) (chan<- struct{}, <-chan error) + func (c *Clique) VerifyUncles(chain consensus.ChainReader, block *types.Block) error + type SignerFn func(signer accounts.Account, mimeType string, message []byte) ([]byte, error) + type Snapshot struct + Hash common.Hash + Number uint64 + Recents map[uint64]common.Address + Signers map[common.Address]struct{} + Tally map[common.Address]Tally + Votes []*Vote + type Status struct + InturnPercent float64 + NumBlocks uint64 + SigningStatus map[common.Address]int + type Tally struct + Authorize bool + Votes int + type Vote struct + Address common.Address + Authorize bool + Block uint64 + Signer common.Address Other modules containing this package github.com/baptiste-b-pegasys/quorum