Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions src/crypto/minotaurx/blake2.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ extern "C" {
uint8_t personal[BLAKE2S_PERSONALBYTES]; // 32
} blake2s_param;

ALIGN( 64 ) typedef struct __blake2s_state
//ALIGN( 64 ) typedef struct __blake2s_state
typedef struct ALIGN( 64 ) __blake2s_state
{
uint32_t h[8];
uint32_t t[2];
Expand All @@ -86,7 +87,8 @@ extern "C" {
uint8_t personal[BLAKE2B_PERSONALBYTES]; // 64
} blake2b_param;

ALIGN( 64 ) typedef struct __blake2b_state
//ALIGN( 64 ) typedef struct __blake2b_state
typedef struct ALIGN( 64 ) __blake2b_state
{
uint64_t h[8];
uint64_t t[2];
Expand Down
2 changes: 2 additions & 0 deletions src/httpserver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@
#endif
#endif

#include <deque>

/** Maximum size of http request (request line + headers) */
static const size_t MAX_HEADERS_SIZE = 8192;

Expand Down
6 changes: 5 additions & 1 deletion src/qt/bitcoin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -561,12 +561,16 @@ int main(int argc, char *argv[])
Q_INIT_RESOURCE(bitcoin);
Q_INIT_RESOURCE(bitcoin_locale);

#if QT_VERSION >= QT_VERSION_CHECK(5, 12, 0)
QGuiApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
#endif
BitcoinApplication app(argc, argv);
#if QT_VERSION > 0x050100
// Generate high-dpi pixmaps
QApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);
#endif
#if QT_VERSION >= 0x050600
#if QT_VERSION > QT_VERSION_CHECK(5, 12, 0)
#elif QT_VERSION >= 0x050600
QGuiApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
#endif
#ifdef Q_OS_MAC
Expand Down
4 changes: 4 additions & 0 deletions src/qt/bitcoingui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,10 @@
#include <QUrlQuery>
#endif

#include <boost/bind/bind.hpp>
#include <boost/signals2/signal.hpp>
using namespace boost::placeholders;

const std::string BitcoinGUI::DEFAULT_UIPLATFORM =
#if defined(Q_OS_MAC)
"macosx"
Expand Down
4 changes: 4 additions & 0 deletions src/qt/clientmodel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@
#include <QDebug>
#include <QTimer>

#include <boost/bind/bind.hpp>
#include <boost/signals2/signal.hpp>
using namespace boost::placeholders;

class CBlockIndex;

static int64_t nLastHeaderTipUpdateNotification = 0;
Expand Down
2 changes: 2 additions & 0 deletions src/qt/qcustomplot.h
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,8 @@
//# include <QtPrintSupport/QtPrintSupport>
#endif

#include <QPainterPath>

class QCPPainter;
class QCustomPlot;
class QCPLayerable;
Expand Down
4 changes: 4 additions & 0 deletions src/qt/splashscreen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@
#include <QPainter>
#include <QRadialGradient>

#include <boost/bind/bind.hpp>
#include <boost/signals2/signal.hpp>
using namespace boost::placeholders;

SplashScreen::SplashScreen(Qt::WindowFlags f, const NetworkStyle *networkStyle) :
QWidget(0, f), curAlignment(0)
{
Expand Down
2 changes: 2 additions & 0 deletions src/qt/tinypie.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
#include <QPainter>
#include <QPaintEvent>

#include <QPainterPath>

class TinyPie : public QWidget
{
public:
Expand Down
2 changes: 2 additions & 0 deletions src/qt/trafficgraphwidget.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
#include <QWidget>
#include <QQueue>

#include <QPainterPath>

class ClientModel;

QT_BEGIN_NAMESPACE
Expand Down
4 changes: 4 additions & 0 deletions src/qt/transactiontablemodel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@
#include <QIcon>
#include <QList>

#include <boost/bind/bind.hpp>
#include <boost/signals2/signal.hpp>
using namespace boost::placeholders;

// Amount column is right-aligned it contains numbers
static int column_alignments[] = {
Qt::AlignLeft|Qt::AlignVCenter, /* status */
Expand Down
4 changes: 4 additions & 0 deletions src/qt/walletmodel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@

#include <policy/policy.h> // LitecoinCash: Hive: For GetVirtualTransactionSize

#include <boost/bind/bind.hpp>
#include <boost/signals2/signal.hpp>
using namespace boost::placeholders;

WalletModel::WalletModel(const PlatformStyle *platformStyle, CWallet *_wallet, OptionsModel *_optionsModel, QObject *parent) :
QObject(parent), wallet(_wallet), optionsModel(_optionsModel), addressTableModel(0),
transactionTableModel(0),
Expand Down
4 changes: 4 additions & 0 deletions src/validation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@
# error "LitecoinCash cannot be compiled without assertions."
#endif

#include <boost/bind/bind.hpp>
#include <boost/signals2/signal.hpp>
using namespace boost::placeholders;

#define MICRO 0.000001
#define MILLI 0.001

Expand Down
4 changes: 4 additions & 0 deletions src/validationinterface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@

#include <boost/signals2/signal.hpp>

#include <boost/bind/bind.hpp>
#include <boost/signals2/signal.hpp>
using namespace boost::placeholders;

struct MainSignalsInstance {
boost::signals2::signal<void (const CBlockIndex *, const CBlockIndex *, bool fInitialDownload)> UpdatedBlockTip;
boost::signals2::signal<void (const CTransactionRef &)> TransactionAddedToMempool;
Expand Down