Bitcoin Core 22.99.0
P2P Digital Currency
fees.h
Go to the documentation of this file.
1// Copyright (c) 2009-2010 Satoshi Nakamoto
2// Copyright (c) 2009-2020 The Bitcoin Core developers
3// Distributed under the MIT software license, see the accompanying
4// file COPYING or http://www.opensource.org/licenses/mit-license.php.
5#ifndef BITCOIN_UTIL_FEES_H
6#define BITCOIN_UTIL_FEES_H
7
8#include <string>
9
10enum class FeeEstimateMode;
11enum class FeeReason;
12
13bool FeeModeFromString(const std::string& mode_string, FeeEstimateMode& fee_estimate_mode);
14std::string StringForFeeReason(FeeReason reason);
15std::string FeeModes(const std::string& delimiter);
16const std::string InvalidEstimateModeErrorMessage();
17
18#endif // BITCOIN_UTIL_FEES_H
FeeEstimateMode
Definition: feerate.h:18
FeeReason
Definition: fees.h:43
std::string FeeModes(const std::string &delimiter)
Definition: fees.cpp:47
bool FeeModeFromString(const std::string &mode_string, FeeEstimateMode &fee_estimate_mode)
Definition: fees.cpp:57
const std::string InvalidEstimateModeErrorMessage()
Definition: fees.cpp:52
std::string StringForFeeReason(FeeReason reason)
Definition: fees.cpp:17