Add JoinSplit verification benchmarks

This commit is contained in:
Taylor Hornby
2016-04-11 09:17:02 -06:00
parent bf8def9749
commit d44feea44c
4 changed files with 39 additions and 2 deletions

View File

@@ -102,3 +102,10 @@ double benchmark_solve_equihash()
eh.BasicSolve(eh_state);
return timer_stop();
}
double benchmark_verify_joinsplit(const CPourTx &joinsplit)
{
timer_start();
joinsplit.Verify(*pzerocashParams);
return timer_stop();
}