2019-04-02 18:03:37 -03:00
|
|
|
// Copyright (c) 2009-2010 Satoshi Nakamoto
|
2020-12-31 05:48:25 -03:00
|
|
|
// Copyright (c) 2009-2020 The Bitcoin Core developers
|
2019-04-02 18:03:37 -03:00
|
|
|
// Distributed under the MIT software license, see the accompanying
|
|
|
|
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
|
|
|
#ifndef BITCOIN_UTIL_FEES_H
|
|
|
|
#define BITCOIN_UTIL_FEES_H
|
|
|
|
|
|
|
|
#include <string>
|
|
|
|
|
|
|
|
enum class FeeEstimateMode;
|
|
|
|
enum class FeeReason;
|
|
|
|
|
|
|
|
bool FeeModeFromString(const std::string& mode_string, FeeEstimateMode& fee_estimate_mode);
|
|
|
|
std::string StringForFeeReason(FeeReason reason);
|
2019-08-21 10:17:32 -04:00
|
|
|
std::string FeeModes(const std::string& delimiter);
|
2020-11-10 08:29:01 -03:00
|
|
|
const std::string InvalidEstimateModeErrorMessage();
|
2019-04-02 18:03:37 -03:00
|
|
|
|
|
|
|
#endif // BITCOIN_UTIL_FEES_H
|