Merge bitcoin/bitcoin#22951: consensus: move amount.h into consensus
9d0379cea6consensus: use <cstdint> over <stdint.h> in amount.h (fanquake)863e52fe63consensus: make COIN & MAX_MONEY constexpr (fanquake)d09071da5b[MOVEONLY] consensus: move amount.h into consensus (fanquake) Pull request description: A first step (of a few) towards some source code reorganization, as well as making libbitcoinconsensus slightly more self contained. Related to #15732. ACKs for top commit: MarcoFalke: concept ACK9d0379cea6🏝 Tree-SHA512: 97fc79262dcb8c00996852a288fee69ddf8398ae2c95700bba5b326f1f38ffcfaf8fa66e29d0cb446d9b3f4e608a96525fae0c2ad9cd531ad98ad2a4a687cd6a
This commit is contained in:
71 files changed
+74
-54
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