Browse Source

Fix compiler errors and warnings

custom_themes
Duke 1 year ago
parent
commit
1d2e7007fb
  1. 1
      src/main.cpp
  2. 1
      src/mainwindow.cpp
  3. 5
      src/rpc.cpp
  4. 1
      src/settings.cpp

1
src/main.cpp

@ -6,6 +6,7 @@
#include "rpc.h"
#include "settings.h"
#include "version.h"
#include <QCommandLineParser>
bool isdragonx = 0;

1
src/mainwindow.cpp

@ -22,6 +22,7 @@
#include "connection.h"
#include "requestdialog.h"
#include <QLCDNumber>
#include <QThread>
#include "sd.h"
extern bool isdragonx;

5
src/rpc.cpp

@ -6,6 +6,7 @@
#include "settings.h"
#include "senttxstore.h"
#include "version.h"
#include <QThread>
#include "sd.h"
extern bool isdragonx;
@ -757,9 +758,9 @@ void RPC::getInfoThenRefresh(bool force) {
int version = reply["version"].toInt();
int p2pport = reply["p2pport"].toInt();
int rpcport = reply["rpcport"].toInt();
int notarized = reply["notarized"].toInt();
int protocolversion = reply["protocolversion"].toInt();
int lag = curBlock - notarized;
// int notarized = reply["notarized"].toInt();
// int lag = curBlock - notarized;
// TODO: store all future halvings
int blocks_until_halving= 2020000 - curBlock;
char halving_days[8];

1
src/settings.cpp

@ -3,6 +3,7 @@
#include "mainwindow.h"
#include "settings.h"
#include "sd.h"
#include <QUrlQuery>
extern bool isdragonx;

Loading…
Cancel
Save