validators

Validator behaviours subclass beaconrunner.validatorlib.BRValidator and use attributes exposed in self.data (of type beaconrunner.validatorlib.ValidatorData) to make decisions. Subclasses of BRValidator must define at least two methods:

  • attest(self, known_items) -> Optional[Attestation]

  • propose(self, known_items) -> Optional[Attestation]