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