aboutsummaryrefslogtreecommitdiff
path: root/src/util/fees.h
diff options
context:
space:
mode:
authorRyan Ofsky <ryan@ofsky.org>2023-12-06 16:43:49 -0500
committerRyan Ofsky <ryan@ofsky.org>2024-05-16 10:16:08 -0500
commit680eafdc74021c1e0893c3a62404e607fd4724f5 (patch)
treed1fe7bb7ad81db88b38d5af9081a0e5561ed9a11 /src/util/fees.h
parent02e62c6c9af4beabaeea58fb1ea3ad0dc5094678 (diff)
downloadbitcoin-680eafdc74021c1e0893c3a62404e607fd4724f5.tar.xz
util: move fees.h and error.h to common/messages.h
Move enum and message formatting functions to a common/messages header where they should be more discoverable, and also out of the util library, so they will not be a dependency of the kernel The are no changes in behavior and no changes to the moved code.
Diffstat (limited to 'src/util/fees.h')
-rw-r--r--src/util/fees.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/util/fees.h b/src/util/fees.h
deleted file mode 100644
index 10ba1e4f85..0000000000
--- a/src/util/fees.h
+++ /dev/null
@@ -1,18 +0,0 @@
-// Copyright (c) 2009-2010 Satoshi Nakamoto
-// Copyright (c) 2009-2020 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_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);
-std::string FeeModes(const std::string& delimiter);
-std::string InvalidEstimateModeErrorMessage();
-
-#endif // BITCOIN_UTIL_FEES_H