verifier

package
v0.0.0-...-4097cb8 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2020 License: LGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExtractVerifiers

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

ExtractVerifiers get all verifiers address from extraData

func NewVerifier

func NewVerifier(addr common.Address) bft.Verifier

func NewVerifierSet

func NewVerifierSet(addrs []common.Address, policy bft.ProposerPolicy) bft.VerifierSet

func ValidExtraData

func ValidExtraData(extraData []byte) bool

ValidateExtraData : only allows extraData = n * verifierLen

Types

This section is empty.

Jump to

Keyboard shortcuts

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