blocksigner

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2020 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Signers        map[common.Address]struct{}
	SelfIsProducer bool
)

Functions

func GenRandSingersFromTest

func GenRandSingersFromTest()

func GetBlockSignerMaps

func GetBlockSignerMaps(elaHeight uint64) *map[common.Address]struct{}

func GetBlockSignersCount

func GetBlockSignersCount() int

func ValidateSigner

func ValidateSigner(elaHeight uint64, addr common.Address) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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