Bitcoin Core 28.99.0
P2P Digital Currency
Classes | Namespaces | Functions | Variables
blockstorage.cpp File Reference
#include <node/blockstorage.h>
#include <arith_uint256.h>
#include <chain.h>
#include <consensus/params.h>
#include <consensus/validation.h>
#include <dbwrapper.h>
#include <flatfile.h>
#include <hash.h>
#include <kernel/blockmanager_opts.h>
#include <kernel/chainparams.h>
#include <kernel/messagestartchars.h>
#include <kernel/notifications_interface.h>
#include <logging.h>
#include <pow.h>
#include <primitives/block.h>
#include <primitives/transaction.h>
#include <random.h>
#include <serialize.h>
#include <signet.h>
#include <span.h>
#include <streams.h>
#include <sync.h>
#include <tinyformat.h>
#include <uint256.h>
#include <undo.h>
#include <util/batchpriority.h>
#include <util/check.h>
#include <util/fs.h>
#include <util/signalinterrupt.h>
#include <util/strencodings.h>
#include <util/translation.h>
#include <validation.h>
#include <map>
#include <ranges>
#include <unordered_map>
Include dependency graph for blockstorage.cpp:

Go to the source code of this file.

Classes

class  node::ImportingNow
 

Namespaces

namespace  kernel
 
namespace  node
 

Functions

static auto node::InitBlocksdirXorKey (const BlockManager::Options &opts)
 
void node::ImportBlocks (ChainstateManager &chainman, std::span< const fs::path > import_paths)
 
std::ostream & node::operator<< (std::ostream &os, const BlockfileType &type)
 
std::ostream & node::operator<< (std::ostream &os, const BlockfileCursor &cursor)
 

Variables

static constexpr uint8_t kernel::DB_BLOCK_FILES {'f'}
 
static constexpr uint8_t kernel::DB_BLOCK_INDEX {'b'}
 
static constexpr uint8_t kernel::DB_FLAG {'F'}
 
static constexpr uint8_t kernel::DB_REINDEX_FLAG {'R'}
 
static constexpr uint8_t kernel::DB_LAST_BLOCK {'l'}