Dash Core Source Documentation (0.16.0.1)
Find detailed information regarding the Dash Core source code.
checkblock.cpp File Reference
#include <bench/bench.h>
#include <chainparams.h>
#include <validation.h>
#include <streams.h>
#include <consensus/validation.h>
#include <bench/data/block813851.raw.h>
Include dependency graph for checkblock.cpp:
Go to the source code of this file.
Functions | |
static void | DeserializeBlockTest (benchmark::State &state) |
static void | DeserializeAndCheckBlockTest (benchmark::State &state) |
BENCHMARK (DeserializeBlockTest) | |
BENCHMARK (DeserializeAndCheckBlockTest) | |
Function Documentation
◆ BENCHMARK() [1/2]
BENCHMARK | ( | DeserializeBlockTest | ) |
◆ BENCHMARK() [2/2]
BENCHMARK | ( | DeserializeAndCheckBlockTest | ) |
◆ DeserializeAndCheckBlockTest()
|
static |
Definition at line 33 of file checkblock.cpp.
References CheckBlock(), CreateChainParams(), benchmark::State::KeepRunning(), CBaseChainParams::MAIN, PROTOCOL_VERSION, CDataStream::Rewind(), SER_NETWORK, and CDataStream::write().
◆ DeserializeBlockTest()
|
static |
Definition at line 18 of file checkblock.cpp.
References benchmark::State::KeepRunning(), PROTOCOL_VERSION, CDataStream::Rewind(), SER_NETWORK, and CDataStream::write().