Changeset View
Changeset View
Standalone View
Standalone View
src/node/chainstatemanager_args.h
// Copyright (c) 2022 The Bitcoin Core developers | // Copyright (c) 2022 The Bitcoin Core developers | ||||
// Distributed under the MIT software license, see the accompanying | // Distributed under the MIT software license, see the accompanying | ||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php. | // file COPYING or http://www.opensource.org/licenses/mit-license.php. | ||||
#ifndef BITCOIN_NODE_CHAINSTATEMANAGER_ARGS_H | #ifndef BITCOIN_NODE_CHAINSTATEMANAGER_ARGS_H | ||||
#define BITCOIN_NODE_CHAINSTATEMANAGER_ARGS_H | #define BITCOIN_NODE_CHAINSTATEMANAGER_ARGS_H | ||||
#include <validation.h> | #include <validation.h> | ||||
#include <optional> | |||||
class ArgsManager; | class ArgsManager; | ||||
struct bilingual_str; | |||||
namespace node { | namespace node { | ||||
void ApplyArgsManOptions(const ArgsManager &args, | std::optional<bilingual_str> | ||||
ChainstateManager::Options &opts); | ApplyArgsManOptions(const ArgsManager &args, ChainstateManager::Options &opts); | ||||
} // namespace node | } // namespace node | ||||
#endif // BITCOIN_NODE_CHAINSTATEMANAGER_ARGS_H | #endif // BITCOIN_NODE_CHAINSTATEMANAGER_ARGS_H |