util: add TransactionError includes and namespace declarations
Add TransactionError to node namespace and include it directly instead of relying on indirect include through common/messages.h This is a followup to a previous commit which moved the TransactionError enum. These changes were done in a separate followup just to keep the previous commit more minimal and easy to review.
This commit is contained in:
1 parent
680eafdc74
commit
4d05d3f3b4
26 files changed
+48
-8
No files matched your search
@@ -9,6 +9,7 @@
|
||||
#include <interfaces/node.h>
|
||||
#include <key_io.h>
|
||||
#include <node/psbt.h>
|
||||
#include <node/types.h>
|
||||
#include <policy/policy.h>
|
||||
#include <qt/bitcoinunits.h>
|
||||
#include <qt/forms/ui_psbtoperationsdialog.h>
|
||||
@@ -25,6 +26,7 @@ using common::TransactionErrorString;
|
||||
using node::AnalyzePSBT;
|
||||
using node::DEFAULT_MAX_RAW_TX_FEE_RATE;
|
||||
using node::PSBTAnalysis;
|
||||
using node::TransactionError;
|
||||
|
||||
PSBTOperationsDialog::PSBTOperationsDialog(
|
||||
QWidget* parent, WalletModel* wallet_model, ClientModel* client_model) : QDialog(parent, GUIUtil::dialog_flags),
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
#include <interfaces/node.h>
|
||||
#include <key_io.h>
|
||||
#include <node/interface_ui.h>
|
||||
#include <node/types.h>
|
||||
#include <policy/fees.h>
|
||||
#include <txmempool.h>
|
||||
#include <validation.h>
|
||||
|
||||
@@ -19,6 +19,7 @@
|
||||
#include <interfaces/node.h>
|
||||
#include <key_io.h>
|
||||
#include <node/interface_ui.h>
|
||||
#include <node/types.h>
|
||||
#include <psbt.h>
|
||||
#include <util/translation.h>
|
||||
#include <wallet/coincontrol.h>
|
||||
|
||||
Reference in new issue
Block a user