slash

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2020 License: MIT Imports: 1 Imported by: 2

Documentation

Index

Constants

View Source
const (
	// UnavailabilityInConsecutiveBlockSigning is how many blocks in a row
	// before "slashing by unavailability" occurs
	UnavailabilityInConsecutiveBlockSigning = 1380
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Slasher

type Slasher interface {
	ShouldSlash(shard.BlsPublicKey) bool
}

Slasher ..

type ThresholdDecider added in v1.9.0

type ThresholdDecider interface {
	SlashThresholdMet(shard.BlsPublicKey) bool
}

ThresholdDecider ..

Jump to

Keyboard shortcuts

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