Bitcoin Core 28.99.0
P2P Digital Currency
|
#include <addresstype.h>
#include <bench/bench.h>
#include <coins.h>
#include <key.h>
#include <primitives/transaction.h>
#include <pubkey.h>
#include <script/interpreter.h>
#include <script/script.h>
#include <script/sign.h>
#include <script/signingprovider.h>
#include <span.h>
#include <test/util/random.h>
#include <uint256.h>
#include <util/translation.h>
#include <cassert>
#include <map>
#include <vector>
Go to the source code of this file.
Enumerations | |
enum class | InputType { P2WPKH , P2TR } |
Functions | |
static void | SignTransactionSingleInput (benchmark::Bench &bench, InputType input_type) |
static void | SignTransactionECDSA (benchmark::Bench &bench) |
static void | SignTransactionSchnorr (benchmark::Bench &bench) |
static void | SignSchnorrTapTweakBenchmark (benchmark::Bench &bench, bool use_null_merkle_root) |
static void | SignSchnorrWithMerkleRoot (benchmark::Bench &bench) |
static void | SignSchnorrWithNullMerkleRoot (benchmark::Bench &bench) |
BENCHMARK (SignTransactionECDSA, benchmark::PriorityLevel::HIGH) | |
BENCHMARK (SignTransactionSchnorr, benchmark::PriorityLevel::HIGH) | |
BENCHMARK (SignSchnorrWithMerkleRoot, benchmark::PriorityLevel::HIGH) | |
BENCHMARK (SignSchnorrWithNullMerkleRoot, benchmark::PriorityLevel::HIGH) | |
|
strong |
Enumerator | |
---|---|
P2WPKH | |
P2TR |
Definition at line 24 of file sign_transaction.cpp.
BENCHMARK | ( | SignSchnorrWithMerkleRoot | , |
benchmark::PriorityLevel::HIGH | |||
) |
BENCHMARK | ( | SignSchnorrWithNullMerkleRoot | , |
benchmark::PriorityLevel::HIGH | |||
) |
BENCHMARK | ( | SignTransactionECDSA | , |
benchmark::PriorityLevel::HIGH | |||
) |
BENCHMARK | ( | SignTransactionSchnorr | , |
benchmark::PriorityLevel::HIGH | |||
) |
|
static |
Definition at line 76 of file sign_transaction.cpp.
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 29 of file sign_transaction.cpp.