aboutsummaryrefslogtreecommitdiff
path: root/src/node/blockstorage.h
blob: d81b39f9f933be11e77f4f7d74a8d2af9ef9c6ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Copyright (c) 2011-2021 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.

#ifndef BITCOIN_NODE_BLOCKSTORAGE_H
#define BITCOIN_NODE_BLOCKSTORAGE_H

#include <vector>

#include <fs.h>

class ArgsManager;
class ChainstateManager;

static constexpr bool DEFAULT_STOPAFTERBLOCKIMPORT{false};

void ThreadImport(ChainstateManager& chainman, std::vector<fs::path> vImportFiles, const ArgsManager& args);

#endif // BITCOIN_NODE_BLOCKSTORAGE_H