![]() |
Bitcoin Core 30.99.0
P2P Digital Currency
|
#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.
Functions | |
| 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 (ConnectBlockMixedEcdsaSchnorr) | |
| BENCHMARK (ConnectBlockAllEcdsa) | |
| BENCHMARK | ( | ConnectBlockAllEcdsa | ) |
| BENCHMARK | ( | ConnectBlockAllSchnorr | ) |
| BENCHMARK | ( | ConnectBlockMixedEcdsaSchnorr | ) |
| void BenchmarkConnectBlock | ( | benchmark::Bench & | bench, |
| std::vector< CKey > & | keys, | ||
| std::vector< CTxOut > & | outputs, | ||
| TestChain100Setup & | test_setup | ||
| ) |
Definition at line 92 of file connectblock.cpp.
|
static |
|
static |
|
static |
| std::pair< std::vector< CKey >, std::vector< CTxOut > > CreateKeysAndOutputs | ( | const CKey & | coinbaseKey, |
| size_t | num_schnorr, | ||
| size_t | num_ecdsa | ||
| ) |
Definition at line 71 of file connectblock.cpp.
| CBlock CreateTestBlock | ( | TestChain100Setup & | test_setup, |
| const std::vector< CKey > & | keys, | ||
| const std::vector< CTxOut > & | outputs, | ||
| int | num_txs = 1000 |
||
| ) |
Definition at line 24 of file connectblock.cpp.