Load blocks from the given files and activate the best chain, even if none are imported.
Declared in <node/blockstorage.h>
void
ImportBlocks(
ChainstateManager& chainman,
std::span<fs::path const> import_paths);
| Name | Description |
|---|---|
| chainman | The chainstate manager to load blocks into and activate. |
| import_paths | Paths of external block files to import. |