Make validatelargetx test more accurate, reduce block size limit to 1MB for now.

This commit is contained in:
Sean Bowe
2016-07-06 12:07:50 -06:00
parent 2ba9641767
commit 9c45b501ad
5 changed files with 51 additions and 170 deletions

View File

@@ -2419,10 +2419,8 @@ Value zc_benchmark(const json_spirit::Array& params, bool fHelp)
sample_times.push_back(benchmark_solve_equihash());
} else if (benchmarktype == "verifyequihash") {
sample_times.push_back(benchmark_verify_equihash());
} else if (benchmarktype == "createlargetx") {
sample_times.push_back(benchmark_large_tx(false));
} else if (benchmarktype == "validatelargetx") {
sample_times.push_back(benchmark_large_tx(true));
sample_times.push_back(benchmark_large_tx());
} else {
throw JSONRPCError(RPC_TYPE_ERROR, "Invalid benchmarktype");
}