Load blocks from the given files and activate the best chain, even if none are imported.

Synopsis

Declared in <node/blockstorage.h>

void
ImportBlocks(
    ChainstateManager& chainman,
    std::span<fs::path const> import_paths);

Parameters

Name

Description

chainman

The chainstate manager to load blocks into and activate.

import_paths

Paths of external block files to import.

Created with MrDocs