[MOVEONLY] consensus: move amount.h into consensus
Move amount.h to consensus/amount.h. Renames, adds missing and removes uneeded includes.
This commit is contained in:
71 files changed
+71
-51
No files matched your search
@@ -5,7 +5,7 @@
|
||||
#ifndef BITCOIN_QT_BITCOINAMOUNTFIELD_H
|
||||
#define BITCOIN_QT_BITCOINAMOUNTFIELD_H
|
||||
|
||||
#include <amount.h>
|
||||
#include <consensus/amount.h>
|
||||
|
||||
#include <QWidget>
|
||||
|
||||
|
||||
+1
-1
@@ -12,7 +12,7 @@
|
||||
#include <qt/guiutil.h>
|
||||
#include <qt/optionsdialog.h>
|
||||
|
||||
#include <amount.h>
|
||||
#include <consensus/amount.h>
|
||||
|
||||
#include <QLabel>
|
||||
#include <QMainWindow>
|
||||
|
||||
@@ -4,6 +4,8 @@
|
||||
|
||||
#include <qt/bitcoinunits.h>
|
||||
|
||||
#include <consensus/amount.h>
|
||||
|
||||
#include <QStringList>
|
||||
|
||||
#include <cassert>
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
#ifndef BITCOIN_QT_BITCOINUNITS_H
|
||||
#define BITCOIN_QT_BITCOINUNITS_H
|
||||
|
||||
#include <amount.h>
|
||||
#include <consensus/amount.h>
|
||||
|
||||
#include <QAbstractListModel>
|
||||
#include <QString>
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
#ifndef BITCOIN_QT_COINCONTROLDIALOG_H
|
||||
#define BITCOIN_QT_COINCONTROLDIALOG_H
|
||||
|
||||
#include <amount.h>
|
||||
#include <consensus/amount.h>
|
||||
|
||||
#include <QAbstractButton>
|
||||
#include <QAction>
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
#ifndef BITCOIN_QT_GUIUTIL_H
|
||||
#define BITCOIN_QT_GUIUTIL_H
|
||||
|
||||
#include <amount.h>
|
||||
#include <consensus/amount.h>
|
||||
#include <fs.h>
|
||||
#include <net.h>
|
||||
#include <netaddress.h>
|
||||
|
||||
@@ -5,7 +5,6 @@
|
||||
#ifndef BITCOIN_QT_OPTIONSMODEL_H
|
||||
#define BITCOIN_QT_OPTIONSMODEL_H
|
||||
|
||||
#include <amount.h>
|
||||
#include <cstdint>
|
||||
#include <qt/guiconstants.h>
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
#include <config/bitcoin-config.h>
|
||||
#endif
|
||||
|
||||
#include <amount.h>
|
||||
#include <consensus/amount.h>
|
||||
#include <serialize.h>
|
||||
|
||||
#include <string>
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
#ifndef BITCOIN_QT_TRANSACTIONFILTERPROXY_H
|
||||
#define BITCOIN_QT_TRANSACTIONFILTERPROXY_H
|
||||
|
||||
#include <amount.h>
|
||||
#include <consensus/amount.h>
|
||||
|
||||
#include <QDateTime>
|
||||
#include <QSortFilterProxyModel>
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
#ifndef BITCOIN_QT_TRANSACTIONRECORD_H
|
||||
#define BITCOIN_QT_TRANSACTIONRECORD_H
|
||||
|
||||
#include <amount.h>
|
||||
#include <consensus/amount.h>
|
||||
#include <uint256.h>
|
||||
|
||||
#include <QList>
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
#include <primitives/transaction.h>
|
||||
#include <qt/sendcoinsrecipient.h>
|
||||
|
||||
#include <amount.h>
|
||||
#include <consensus/amount.h>
|
||||
|
||||
#include <QObject>
|
||||
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
#ifndef BITCOIN_QT_WALLETVIEW_H
|
||||
#define BITCOIN_QT_WALLETVIEW_H
|
||||
|
||||
#include <amount.h>
|
||||
#include <consensus/amount.h>
|
||||
|
||||
#include <QStackedWidget>
|
||||
|
||||
|
||||
Reference in new issue
Block a user