mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-05-18 14:10:44 +02: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.
20 lines
566 B
C++
20 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
|