[#node-ImportBlocks] = xref:node.adoc[node]::ImportBlocks :relfileprefix: ../ :mrdocs: Load blocks from the given files and activate the best chain, even if none are imported. == Synopsis Declared in `<node/blockstorage.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void ImportBlocks( xref:ChainstateManager.adoc[ChainstateManager]& chainman, std::span<fs::path const> import_paths); ---- == Parameters [cols="1,4"] |=== | Name| Description | *chainman* | The chainstate manager to load blocks into and activate. | *import_paths* | Paths of external block files to import. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#