baseparam

package
v0.0.0-...-e1f35ab Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2020 License: LGPL-3.0 Imports: 0 Imported by: 9

Documentation

Index

Constants

View Source
const (
	TypeActNone uint8 = iota
	TypeSealersElection
	TypePoliceElection
	TypeValidateElection
)
View Source
const (
	MaxElectionPoolLen    = 42
	MinElectionPoolLen    = 1
	MaxEleSealerCount     = 42
	MinEleSealerCount     = 1
	ElectionBlockCount    = 5 // 10
	BalanceReqForElection = 100000

	BFTSealersWorkDelay = 5 // When new valid election block mined in the lamp chain, new sealers will start to work after specific number of blocks
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CurrEleSealers

type CurrEleSealers struct {
	Addresses  []string
	StartBlock uint64
	EndBlock   uint64
	ExpireTime uint64
}

type InElectionAddress

type InElectionAddress struct {
	Address    string
	StartBlock uint64
	EndBlock   uint64
}

Jump to

Keyboard shortcuts

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