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.
This commit is contained in:
Ryan Ofsky committed 2024-05-16 10:16:08 -05:00
1 parent 02e62c6c9a
commit 680eafdc74
20 files changed
+143 -143

No files matched your search

+2 -1
View File
@@ -4,6 +4,7 @@
#include <qt/psbtoperationsdialog.h>
#include <common/messages.h>
#include <core_io.h>
#include <interfaces/node.h>
#include <key_io.h>
@@ -13,7 +14,6 @@
#include <qt/forms/ui_psbtoperationsdialog.h>
#include <qt/guiutil.h>
#include <qt/optionsmodel.h>
#include <util/error.h>
#include <util/fs.h>
#include <util/strencodings.h>
@@ -21,6 +21,7 @@
#include <iostream>
#include <string>
using common::TransactionErrorString;
using node::AnalyzePSBT;
using node::DEFAULT_MAX_RAW_TX_FEE_RATE;
using node::PSBTAnalysis;