Bitcoin Core 28.99.0
P2P Digital Currency
Functions
readblock.cpp File Reference
#include <bench/bench.h>
#include <bench/data/block413567.raw.h>
#include <flatfile.h>
#include <node/blockstorage.h>
#include <primitives/block.h>
#include <primitives/transaction.h>
#include <serialize.h>
#include <span.h>
#include <streams.h>
#include <test/util/setup_common.h>
#include <validation.h>
#include <cassert>
#include <cstdint>
#include <memory>
#include <vector>
Include dependency graph for readblock.cpp:

Go to the source code of this file.

Functions

static FlatFilePos WriteBlockToDisk (ChainstateManager &chainman)
 
static void ReadBlockFromDiskTest (benchmark::Bench &bench)
 
static void ReadRawBlockFromDiskTest (benchmark::Bench &bench)
 
 BENCHMARK (ReadBlockFromDiskTest, benchmark::PriorityLevel::HIGH)
 
 BENCHMARK (ReadRawBlockFromDiskTest, benchmark::PriorityLevel::HIGH)
 

Function Documentation

◆ BENCHMARK() [1/2]

◆ BENCHMARK() [2/2]

◆ ReadBlockFromDiskTest()

static void ReadBlockFromDiskTest ( benchmark::Bench bench)
static

Definition at line 31 of file readblock.cpp.

Here is the call graph for this function:

◆ ReadRawBlockFromDiskTest()

static void ReadRawBlockFromDiskTest ( benchmark::Bench bench)
static

Definition at line 45 of file readblock.cpp.

Here is the call graph for this function:

◆ WriteBlockToDisk()

static FlatFilePos WriteBlockToDisk ( ChainstateManager chainman)
static

Definition at line 22 of file readblock.cpp.

Here is the caller graph for this function: