A validator is a back-end program that does validation and credit-granting. You must supply a validator for each application in your project. BOINC supplies a framework program validator.C. This program must be linked with two application-specific functions:
", htmlspecialchars(" int check_set(vectorresults, DB_WORKUNIT& wu, int& canonicalid, double& credit, bool& retry); "), "
Note: use BOINC's back-end utility functions to get file pathnames and to distinguish recoverable and nonrecoverable file-open errors.
", htmlspecialchars(" int check_pair(RESULT& new_result, RESULT& canonical_result, bool& retry); "), "
Neither function should delete files or access the BOINC database.
A more detailed description is here.
Two example validators are supplied (each implements check_set() and check_pair()):
A placeholder, validator_placeholder.C is also provided. You can replace this file with your own code and 'make' will correctly build and link it. "; page_tail(); ?>