Benchmark the largest valid Sapling transaction in validatelargetx

11130 inputs results in a transaction between 1992301 and 2003431 bytes.
This commit is contained in:
Jack Grigg
2018-04-26 15:05:10 +01:00
parent 15ec5525e3
commit ddcee7e13a
2 changed files with 4 additions and 4 deletions

View File

@@ -2723,7 +2723,7 @@ UniValue zc_benchmark(const UniValue& params, bool fHelp)
sample_times.push_back(benchmark_verify_equihash());
} else if (benchmarktype == "validatelargetx") {
// Number of inputs in the spending transaction that we will simulate
int nInputs = 555;
int nInputs = 11130;
if (params.size() >= 3) {
nInputs = params[2].get_int();
}