Bitcoin ABC 0.32.4
P2P Digital Currency
Functions | Variables
block_assemble.cpp File Reference
#include <bench/bench.h>
#include <config.h>
#include <consensus/validation.h>
#include <node/miner.h>
#include <script/standard.h>
#include <txmempool.h>
#include <validation.h>
#include <test/util/mining.h>
#include <test/util/script.h>
#include <test/util/setup_common.h>
#include <test/util/wallet.h>
#include <vector>
Include dependency graph for block_assemble.cpp:

Go to the source code of this file.

Functions

static void AssembleBlock (benchmark::Bench &bench)
 
static void BlockAssemblerAddPackageTxns (benchmark::Bench &bench)
 
static void BlockAssemblerAddPackageTxnsPreconsensus (benchmark::Bench &bench)
 
 BENCHMARK (AssembleBlock)
 
 BENCHMARK (BlockAssemblerAddPackageTxns)
 
 BENCHMARK (BlockAssemblerAddPackageTxnsPreconsensus)
 

Variables

const CScript redeemScript = CScript() << OP_DROP << OP_TRUE
 
const CScript SCRIPT_PUB
 

Function Documentation

◆ AssembleBlock()

static void AssembleBlock ( benchmark::Bench bench)
static

Definition at line 26 of file block_assemble.cpp.

Here is the call graph for this function:

◆ BENCHMARK() [1/3]

BENCHMARK ( AssembleBlock  )

◆ BENCHMARK() [2/3]

◆ BENCHMARK() [3/3]

◆ BlockAssemblerAddPackageTxns()

static void BlockAssemblerAddPackageTxns ( benchmark::Bench bench)
static

Definition at line 63 of file block_assemble.cpp.

Here is the call graph for this function:

◆ BlockAssemblerAddPackageTxnsPreconsensus()

static void BlockAssemblerAddPackageTxnsPreconsensus ( benchmark::Bench bench)
static

Definition at line 78 of file block_assemble.cpp.

Here is the call graph for this function:

Variable Documentation

◆ redeemScript

const CScript redeemScript = CScript() << OP_DROP << OP_TRUE

Definition at line 21 of file block_assemble.cpp.

◆ SCRIPT_PUB

const CScript SCRIPT_PUB
Initial value:
= CScript()
const CScript redeemScript
A reference to a CScript: the Hash160 of its serialization (see script.h)
Definition: standard.h:24
@ OP_EQUAL
Definition: script.h:123
@ OP_HASH160
Definition: script.h:164
std::vector< uint8_t > ToByteVector(const T &in)
Definition: script.h:46

Definition at line 22 of file block_assemble.cpp.