Use latest block instead of info
This commit is contained in:
@@ -42,8 +42,8 @@ public:
|
||||
bool isSyncing();
|
||||
void setSyncing(bool syncing);
|
||||
|
||||
int getZcashdVersion();
|
||||
void setZcashdVersion(int version);
|
||||
QString getZcashdVersion();
|
||||
void setZcashdVersion(QString version);
|
||||
|
||||
void setUseEmbedded(bool r) { _useEmbedded = r; }
|
||||
bool useEmbedded() { return _useEmbedded; }
|
||||
@@ -95,12 +95,11 @@ public:
|
||||
|
||||
static bool isValidAddress(QString addr);
|
||||
|
||||
static QString getChainName() { return QString("main"); }
|
||||
static QString getDefaultChainName() { return QString("main"); }
|
||||
|
||||
static const QString labelRegExp;
|
||||
|
||||
static const int updateSpeed = 20 * 1000; // 20 sec
|
||||
static const int quickUpdateSpeed = 5 * 1000; // 5 sec
|
||||
static const int updateSpeed = 60 * 1000; // 60 sec
|
||||
static const int priceRefreshSpeed = 60 * 60 * 1000; // 1 hr
|
||||
|
||||
private:
|
||||
@@ -114,7 +113,7 @@ private:
|
||||
bool _isTestnet = false;
|
||||
bool _isSyncing = false;
|
||||
int _blockNumber = 0;
|
||||
int _zcashdVersion = 0;
|
||||
QString _zcashdVersion = 0;
|
||||
bool _useEmbedded = false;
|
||||
bool _headless = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user