#include <addresstype.h>
#include <bench/bench.h>
#include <interfaces/chain.h>
#include <kernel/cs_main.h>
#include <script/interpreter.h>
#include <sync.h>
#include <test/util/setup_common.h>
#include <validation.h>
#include <cassert>
#include <vector>
Go to the source code of this file.
|
CBlock | CreateTestBlock (TestChain100Setup &test_setup, const std::vector< CKey > &keys, const std::vector< CTxOut > &outputs, int num_txs=1000) |
|
std::pair< std::vector< CKey >, std::vector< CTxOut > > | CreateKeysAndOutputs (const CKey &coinbaseKey, size_t num_schnorr, size_t num_ecdsa) |
|
void | BenchmarkConnectBlock (benchmark::Bench &bench, std::vector< CKey > &keys, std::vector< CTxOut > &outputs, TestChain100Setup &test_setup) |
|
static void | ConnectBlockAllSchnorr (benchmark::Bench &bench) |
|
static void | ConnectBlockMixedEcdsaSchnorr (benchmark::Bench &bench) |
|
static void | ConnectBlockAllEcdsa (benchmark::Bench &bench) |
|
| BENCHMARK (ConnectBlockAllSchnorr, benchmark::PriorityLevel::HIGH) |
|
| BENCHMARK (ConnectBlockMixedEcdsaSchnorr, benchmark::PriorityLevel::HIGH) |
|
| BENCHMARK (ConnectBlockAllEcdsa, benchmark::PriorityLevel::HIGH) |
|
◆ BENCHMARK() [1/3]
◆ BENCHMARK() [2/3]
◆ BENCHMARK() [3/3]
◆ BenchmarkConnectBlock()
◆ ConnectBlockAllEcdsa()
◆ ConnectBlockAllSchnorr()
◆ ConnectBlockMixedEcdsaSchnorr()
◆ CreateKeysAndOutputs()
std::pair< std::vector< CKey >, std::vector< CTxOut > > CreateKeysAndOutputs |
( |
const CKey & |
coinbaseKey, |
|
|
size_t |
num_schnorr, |
|
|
size_t |
num_ecdsa |
|
) |
| |
◆ CreateTestBlock()