cretae zcash.conf and get params

This commit is contained in:
Aditya Kulkarni
2018-11-02 21:51:04 -07:00
parent 416217e215
commit 1e9289095f
5 changed files with 133 additions and 21 deletions

View File

@@ -29,6 +29,12 @@ public:
bool isSyncing();
void setSyncing(bool syncing);
bool getIsManualConnection() { return _manualConn; }
void setManualConnection(bool manual) {_manualConn = manual;}
QString getExecName() { return _executable; }
void setExecName(QString name) { _executable = name; }
int getBlockNumber();
void setBlockNumber(int number);
@@ -56,9 +62,11 @@ private:
static Settings* instance;
QString _confLocation;
QString _executable;
bool _isTestnet = false;
bool _isSyncing = false;
int _blockNumber = 0;
bool _manualConn = false;
double zecPrice = 0.0;
};