arrow-left

All pages
gitbookPowered by GitBook
1 of 1

Loading...

Validation

Validation process highlighted

The validation process, running under the 'validator' role, retrieves a requested number of unvalidated anchors, and for each one, retrieves the associated data points, recalculates the summary hash.

The current counts and hash results are then compared to both the Celo contract and database counts and hash results established by the anchor process and any discrepancies are reported.

hashtag
Relevant code:

Validation endpointarrow-up-right
Validation servicearrow-up-right
Contract servicearrow-up-right
Celo Contractarrow-up-right
Contract anchor and validation integration testarrow-up-right