#74, #42 - Show a warning if there are no peers/internet is off

This commit is contained in:
adityapk
2018-12-13 15:39:38 -08:00
parent 8e91eef4f4
commit 077b1896a8
5 changed files with 44 additions and 5 deletions

View File

@@ -53,6 +53,9 @@ public:
void setZECPrice(double p) { zecPrice = p; }
double getZECPrice();
void setPeers(int peers);
int getPeers();
// Static stuff
static const QString txidStatusMessage;
@@ -98,7 +101,7 @@ private:
bool _isSyncing = false;
int _blockNumber = 0;
bool _useEmbedded = false;
int _peerConnections = 0;
double zecPrice = 0.0;
};