slashing

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2023 License: GPL-3.0 Imports: 1 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrDuplicateSignVerify = common.NewBizError(303000, "Double-signning verification failed")
	ErrSlashingExist       = common.NewBizError(303001, "Punishment has been executed already")
	ErrBlockNumberTooHigh  = common.NewBizError(303002, "BlockNumber for the reported double-spending attack is higher than the current value")
	ErrIntervalTooLong     = common.NewBizError(303003, "Reported evidence expired")
	ErrGetCandidate        = common.NewBizError(303004, "Failed to retrieve the reported validator information")
	ErrAddrMismatch        = common.NewBizError(303005, "The evidence address is inconsistent with the validator address")
	ErrNodeIdMismatch      = common.NewBizError(303006, "NodeId does not match")
	ErrBlsPubKeyMismatch   = common.NewBizError(303007, "BlsPubKey does not match")
	ErrSlashingFail        = common.NewBizError(303008, "Slashing node failed")
	ErrNotValidator        = common.NewBizError(303009, "This node is not a validator")
	ErrSameAddr            = common.NewBizError(303010, "Can't report yourself")
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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