mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-04 10:07:27 -05:00
be55f545d5
This is an extraction of ArgsManager related functions from util/system into their own common file. Config file related functions are moved to common/config.cpp. The background of this commit is an ongoing effort to decouple the libbitcoinkernel library from the ArgsManager. The ArgsManager belongs into the common library, since the kernel library should not depend on it. See doc/design/libraries.md for more information on this rationale.
16 lines
446 B
C++
16 lines
446 B
C++
// Copyright (c) 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.
|
|
|
|
#include <policy/fees_args.h>
|
|
|
|
#include <common/args.h>
|
|
|
|
namespace {
|
|
const char* FEE_ESTIMATES_FILENAME = "fee_estimates.dat";
|
|
} // namespace
|
|
|
|
fs::path FeeestPath(const ArgsManager& argsman)
|
|
{
|
|
return argsman.GetDataDirNet() / FEE_ESTIMATES_FILENAME;
|
|
}
|