mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-24 12:41:41 -05:00

This changes the minimum chain work for the bitcoin-chainstate executable. Previously it was uint256{}, now it is the chain's default minimum chain work.
19 lines
566 B
C++
19 lines
566 B
C++
// Copyright (c) 2022 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_CHAINSTATEMANAGER_ARGS_H
|
|
#define BITCOIN_NODE_CHAINSTATEMANAGER_ARGS_H
|
|
|
|
#include <validation.h>
|
|
|
|
#include <optional>
|
|
|
|
class ArgsManager;
|
|
struct bilingual_str;
|
|
|
|
namespace node {
|
|
std::optional<bilingual_str> ApplyArgsManOptions(const ArgsManager& args, ChainstateManager::Options& opts);
|
|
} // namespace node
|
|
|
|
#endif // BITCOIN_NODE_CHAINSTATEMANAGER_ARGS_H
|