mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-19 13:27:35 +02:00
Merge a7a6f1ff41 into merged_master (Bitcoin PR #18575)
This commit is contained in:
commit
4b1d94e736
10 changed files with 29 additions and 21 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue