Benchmark the largest valid Sapling transaction in validatelargetx
11130 inputs results in a transaction between 1992301 and 2003431 bytes.
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user