Merge a7a6f1ff41 into merged_master (Bitcoin PR #18575)

This commit is contained in:
Andrew Poelstra 2020-11-26 01:08:28 +00:00
commit 4b1d94e736
10 changed files with 29 additions and 21 deletions

View file

@ -18,6 +18,9 @@
// modified to measure performance of other types of scripts.
static void VerifyScriptBench(benchmark::State& state)
{
const ECCVerifyHandle verify_handle;
ECC_Start();
const int flags = SCRIPT_VERIFY_WITNESS | SCRIPT_VERIFY_P2SH;
const int witnessversion = 0;
@ -72,6 +75,7 @@ static void VerifyScriptBench(benchmark::State& state)
assert(csuccess == 1);
#endif
}
ECC_Stop();
}
static void VerifyNestedIfScript(benchmark::State& state) {