-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Process validator performance data (#346)
* Process validator performance data * fix enum * fix cron while loop * initialize variables * fix data insert * add unit testing files * fix insert data number of columns * implement getIntervalsEpochs * rename test * fix type * parse attestationreward * use math round * parse total rewards * add start and end epoch unit testing * add missing returns att rate per clients * refactor cron (#347) * refactor cron * retry mechanism * Execute cron once every epoch within the first 10% of time of the epoch (#349) * Propose changes * add cron to stop handling --------- Co-authored-by: pablomendezroyo <[email protected]> * skip unit test * use protocol https in teku (#350) * Skip epoch if node is syncing and retry if el is offline (#351) * reorg check node health * relocate * Add unit testing to trackValidatorsPerformance cron module (#352) * Add unit testing to getActiveValidators * Implement missing unit testing * remove only * Add missing test to validators data ingest. WIP (#353) * Add missing test to validators data ingest * add unit testing to getClientsUsedPerIntervalsMap * add unit testing for getAttestationSuccessRatePerClients * Reorg track validators performance cron (#355) * Reorg track validators performance cron * remove unused comment --------- Co-authored-by: Marc Font <[email protected]>
- Loading branch information
1 parent
7fe473a
commit 3a005d8
Showing
35 changed files
with
1,585 additions
and
325 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
export { CronJob } from "./cron.js"; | ||
export { reloadValidators } from "./reloadValidators/index.js"; | ||
export { sendProofsOfValidation } from "./sendProofsOfValidation/index.js"; | ||
export { trackValidatorsPerformance, getSecondsToNextEpoch } from "./trackValidatorsPerformance/index.js"; | ||
export { | ||
trackValidatorsPerformanceCron, | ||
startWithinTenFirstPercentageOfEpoch | ||
} from "./trackValidatorsPerformance/index.js"; |
16 changes: 0 additions & 16 deletions
16
packages/brain/src/modules/cron/trackValidatorsPerformance/checkNodeHealth.ts
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.