Bitcoin Core 31.99.0
P2P Digital Currency
Enumerations | Functions
verify_script.cpp File Reference
#include <addresstype.h>
#include <bench/bench.h>
#include <key.h>
#include <policy/policy.h>
#include <primitives/transaction.h>
#include <pubkey.h>
#include <script/interpreter.h>
#include <script/script.h>
#include <span.h>
#include <test/util/transaction_utils.h>
#include <uint256.h>
#include <util/translation.h>
#include <array>
#include <cassert>
#include <cstdint>
#include <vector>
Include dependency graph for verify_script.cpp:

Go to the source code of this file.

Enumerations

enum class  ScriptType { P2WPKH , P2TR }
 

Functions

static void VerifyScriptBench (benchmark::Bench &bench, ScriptType script_type)
 
static void VerifyScriptP2WPKH (benchmark::Bench &bench)
 
static void VerifyScriptP2TR (benchmark::Bench &bench)
 
static void VerifyNestedIfScript (benchmark::Bench &bench)
 
 BENCHMARK (VerifyScriptP2WPKH)
 
 BENCHMARK (VerifyScriptP2TR)
 
 BENCHMARK (VerifyNestedIfScript)
 

Enumeration Type Documentation

◆ ScriptType

enum class ScriptType
strong
Enumerator
P2WPKH 
P2TR 

Definition at line 23 of file verify_script.cpp.

Function Documentation

◆ BENCHMARK() [1/3]

BENCHMARK ( VerifyNestedIfScript  )

◆ BENCHMARK() [2/3]

BENCHMARK ( VerifyScriptP2TR  )

◆ BENCHMARK() [3/3]

BENCHMARK ( VerifyScriptP2WPKH  )

◆ VerifyNestedIfScript()

static void VerifyNestedIfScript ( benchmark::Bench bench)
static

Definition at line 83 of file verify_script.cpp.

Here is the call graph for this function:

◆ VerifyScriptBench()

static void VerifyScriptBench ( benchmark::Bench bench,
ScriptType  script_type 
)
static

Definition at line 29 of file verify_script.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ VerifyScriptP2TR()

static void VerifyScriptP2TR ( benchmark::Bench bench)
static

Definition at line 81 of file verify_script.cpp.

Here is the call graph for this function:

◆ VerifyScriptP2WPKH()

static void VerifyScriptP2WPKH ( benchmark::Bench bench)
static

Definition at line 80 of file verify_script.cpp.

Here is the call graph for this function: