validator

package
v22.4.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 28, 2022 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExtractValidators

func ExtractValidators(extraData []byte) []common.Address

func New

func New(addr common.Address) istanbul.Validator

func NewSet

func NewSet(addrs []common.Address, policy *istanbul.ProposerPolicy) istanbul.ValidatorSet

func SortedAddresses

func SortedAddresses(validators []istanbul.Validator) []common.Address

func ValidExtraData

func ValidExtraData(extraData []byte) bool

Check whether the extraData is presented in prescribed form

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL