mirror of https://github.com/BOINC/boinc.git
When calling project-provided validator functions, populate the
WU.rsc_fpops_est field. This can be useful in determining how much credit to assign, and preventing cheating. DAVID: I was going to be a good guy and document this, but you forgot to check validate_simple.php and validate_advanced.php into CVS (:-). svn path=/trunk/boinc/; revision=10297
This commit is contained in:
parent
be52784849
commit
086c94a309
|
@ -5780,3 +5780,16 @@ David 9 June 2006
|
|||
client_state.C,h
|
||||
lib/
|
||||
shmem.C
|
||||
|
||||
Bruce 10 June 2006
|
||||
- When calling project-provided validator functions, populate the
|
||||
WU.rsc_fpops_est field. This can be useful in
|
||||
determining how much credit to assign, and preventing cheating.
|
||||
|
||||
DAVID: I was going to be a good guy and document this, but you
|
||||
forgot to check validate_simple.php and validate_advanced.php
|
||||
into CVS (:-).
|
||||
|
||||
sched/
|
||||
boinc_db.C
|
||||
|
||||
|
|
|
@ -1054,6 +1054,7 @@ void VALIDATOR_ITEM::parse(MYSQL_ROW& r) {
|
|||
wu.target_nresults = atoi(r[i++]);
|
||||
wu.max_success_results = atoi(r[i++]);
|
||||
wu.error_mask = atoi(r[i++]);
|
||||
wu.rsc_fpops_est = atof(r[i++]);
|
||||
|
||||
res.id = atoi(r[i++]);
|
||||
strcpy2(res.name, r[i++]);
|
||||
|
@ -1111,6 +1112,7 @@ int DB_VALIDATOR_ITEM_SET::enumerate(
|
|||
" wu.target_nresults, "
|
||||
" wu.max_success_results, "
|
||||
" wu.error_mask, "
|
||||
" wu.rsc_fpops_est, "
|
||||
" res.id, "
|
||||
" res.name, "
|
||||
" res.validate_state, "
|
||||
|
|
Loading…
Reference in New Issue