50 bool checked =
CheckBlock(block, validationState, params, options);
BENCHMARK(DeserializeBlockTest)
static void DeserializeAndCheckBlockTest(benchmark::Bench &bench)
static void DeserializeBlockTest(benchmark::Bench &bench)
const Consensus::Params & GetConsensus() const
Double ended buffer combining vector and stream-like interfaces.
void write(const char *pch, size_t nSize)
virtual const CChainParams & GetChainParams() const =0
Main entry point to nanobench's benchmarking facility.
Bench & run(char const *benchmarkName, Op &&op)
Repeatedly calls op() based on the configuration, and performs measurements.
Bench & unit(char const *unit)
Sets the operation unit.
const Config & GetConfig()
bool CheckBlock(const CCheckpointData &data, int nHeight, const BlockHash &hash)
Returns true if block passes checkpoint checks.
const std::vector< uint8_t > block413567
Parameters that influence chain consensus.
static const int PROTOCOL_VERSION
network protocol versioning