Bitcoin Core 28.99.0
P2P Digital Currency
Enumerations | Functions
sign_transaction.cpp File Reference
#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>
Include dependency graph for sign_transaction.cpp:

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)
 

Enumeration Type Documentation

◆ InputType

enum class InputType
strong
Enumerator
P2WPKH 
P2TR 

Definition at line 24 of file sign_transaction.cpp.

Function Documentation

◆ BENCHMARK() [1/4]

◆ BENCHMARK() [2/4]

◆ BENCHMARK() [3/4]

◆ BENCHMARK() [4/4]

◆ SignSchnorrTapTweakBenchmark()

static void SignSchnorrTapTweakBenchmark ( benchmark::Bench bench,
bool  use_null_merkle_root 
)
static

Definition at line 76 of file sign_transaction.cpp.

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

◆ SignSchnorrWithMerkleRoot()

static void SignSchnorrWithMerkleRoot ( benchmark::Bench bench)
static

Definition at line 93 of file sign_transaction.cpp.

Here is the call graph for this function:

◆ SignSchnorrWithNullMerkleRoot()

static void SignSchnorrWithNullMerkleRoot ( benchmark::Bench bench)
static

Definition at line 98 of file sign_transaction.cpp.

Here is the call graph for this function:

◆ SignTransactionECDSA()

static void SignTransactionECDSA ( benchmark::Bench bench)
static

Definition at line 73 of file sign_transaction.cpp.

Here is the call graph for this function:

◆ SignTransactionSchnorr()

static void SignTransactionSchnorr ( benchmark::Bench bench)
static

Definition at line 74 of file sign_transaction.cpp.

Here is the call graph for this function:

◆ SignTransactionSingleInput()

static void SignTransactionSingleInput ( benchmark::Bench bench,
InputType  input_type 
)
static

Definition at line 29 of file sign_transaction.cpp.

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