drivertype

package
v1.0.2-rc.6 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 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