Bitcoin Core  31.0.0
P2P Digital Currency
block_policy_estimator_args.cpp
Go to the documentation of this file.
1 // Copyright (c) 2021-present The Bitcoin Core developers
2 // Distributed under the MIT software license, see the accompanying
3 // file COPYING or http://www.opensource.org/licenses/mit-license.php.
4 
6 
7 #include <common/args.h>
8 
9 namespace {
10 const char* FEE_ESTIMATES_FILENAME = "fee_estimates.dat";
11 } // namespace
12 
14 {
15  return argsman.GetDataDirNet() / FEE_ESTIMATES_FILENAME;
16 }
fs::path GetDataDirNet() const
Get data directory path with appended network identifier.
Definition: args.h:239
fs::path FeeestPath(const ArgsManager &argsman)
Path class wrapper to block calls to the fs::path(std::string) implicit constructor and the fs::path:...
Definition: fs.h:33