drivertype

package
v1.9.25-zilion-0.3 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// DoublesignBit is set if validator has a confirmed pair of fork events
	DoublesignBit = uint64(1 << 7)
	OkStatus      = uint64(0)
)

Functions

This section is empty.

Types

type Validator

type Validator struct {
	Weight *big.Int
	PubKey validatorpk.PubKey
}

Validator is the node-side representation of Driver validator

type ValidatorAndID

type ValidatorAndID struct {
	ValidatorID idx.ValidatorID
	Validator   Validator
}

ValidatorAndID is pair Validator + ValidatorID

Jump to

Keyboard shortcuts

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