![]() |
Bitcoin Core 31.99.0
P2P Digital Currency
|
#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>Go to the source code of this file.
Enumerations | |
| enum class | ScriptType { P2WPKH , P2TR_KeyPath , P2TR_ScriptPath } |
Functions | |
| static size_t | ExpectedWitnessStackSize (ScriptType script_type) |
| static void | VerifyScriptBench (benchmark::Bench &bench, ScriptType script_type) |
| static void | VerifyScriptP2WPKH (benchmark::Bench &bench) |
| static void | VerifyScriptP2TR_KeyPath (benchmark::Bench &bench) |
| static void | VerifyScriptP2TR_ScriptPath (benchmark::Bench &bench) |
| static void | VerifyNestedIfScript (benchmark::Bench &bench) |
| BENCHMARK (VerifyScriptP2WPKH) | |
| BENCHMARK (VerifyScriptP2TR_KeyPath) | |
| BENCHMARK (VerifyScriptP2TR_ScriptPath) | |
| BENCHMARK (VerifyNestedIfScript) | |
|
strong |
| Enumerator | |
|---|---|
| P2WPKH | |
| P2TR_KeyPath | |
| P2TR_ScriptPath | |
Definition at line 23 of file verify_script.cpp.
| BENCHMARK | ( | VerifyNestedIfScript | ) |
| BENCHMARK | ( | VerifyScriptP2TR_KeyPath | ) |
| BENCHMARK | ( | VerifyScriptP2TR_ScriptPath | ) |
| BENCHMARK | ( | VerifyScriptP2WPKH | ) |
|
static |
Definition at line 29 of file verify_script.cpp.
|
static |
|
static |
Definition at line 40 of file verify_script.cpp.
|
static |
|
static |
|
static |