mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-26 05:17:22 +00:00
6e514b96fd
* Ran code cleanup from goland * Typo * Remove unused code * Gazelle * Delete comments
22 lines
669 B
Go
22 lines
669 B
Go
package detection
|
|
|
|
import (
|
|
"github.com/prometheus/client_golang/prometheus"
|
|
"github.com/prometheus/client_golang/prometheus/promauto"
|
|
)
|
|
|
|
var (
|
|
doubleVotesDetected = promauto.NewCounter(prometheus.CounterOpts{
|
|
Name: "double_votes_detected_total",
|
|
Help: "The # of double vote slashable events detected",
|
|
})
|
|
surroundingVotesDetected = promauto.NewCounter(prometheus.CounterOpts{
|
|
Name: "surrounding_votes_detected_total",
|
|
Help: "The # of surrounding slashable events detected",
|
|
})
|
|
surroundedVotesDetected = promauto.NewCounter(prometheus.CounterOpts{
|
|
Name: "surrounded_votes_detected_total",
|
|
Help: "The # of surrounded slashable events detected",
|
|
})
|
|
)
|