Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var FinalizationOccurs = Evaluator{
Name: "finalizes_at_epoch_%d",
Policy: afterNthEpoch(3),
Evaluation: finalizationOccurs,
}
FinalizationOccurs is an evaluator to make sure finalization is performing as it should. Requires to be run after at least 4 epochs have passed.
var ValidatorsAreActive = Evaluator{
Name: "validators_active_epoch_%d",
Policy: afterNthEpoch(1),
Evaluation: validatorsAreActive,
}
ValidatorsAreActive ensures the expected amount of validators are active.
var ValidatorsParticipating = Evaluator{
Name: "validators_participating_epoch_%d",
Policy: afterNthEpoch(2),
Evaluation: validatorsParticipating,
}
ValidatorsParticipating ensures the expected amount of validators are active.
Functions ¶
func AllChainsHaveSameHead ¶
func AllChainsHaveSameHead(beaconNodes []*BeaconNodeInfo) error
AllChainsHaveSameHead connects to all RPC ports in the passed in array and ensures they have the same head epoch. Checks finality and justification as well. Not checking head block root as it may change irregularly for the validator connected nodes.
func FinishedSyncing ¶
FinishedSyncing returns whether the beacon node with the given rpc port has finished syncing.
func PeersConnect ¶
func PeersConnect(beaconNodes []*BeaconNodeInfo) error
PeersConnect checks all beacon nodes and returns whether they are connected to each other as peers.