|
|
@ -51,8 +51,8 @@ public:
|
|
|
|
//! Return number of connections, default is in- and outbound (total)
|
|
|
|
//! Return number of connections, default is in- and outbound (total)
|
|
|
|
int getNumConnections(unsigned int flags = CONNECTIONS_ALL) const;
|
|
|
|
int getNumConnections(unsigned int flags = CONNECTIONS_ALL) const;
|
|
|
|
int getNumBlocks() const;
|
|
|
|
int getNumBlocks() const;
|
|
|
|
int getHeaderTipHeight();
|
|
|
|
int getHeaderTipHeight() const;
|
|
|
|
int64_t getHeaderTipTime();
|
|
|
|
int64_t getHeaderTipTime() const;
|
|
|
|
//! Return number of transactions in the mempool
|
|
|
|
//! Return number of transactions in the mempool
|
|
|
|
long getMempoolSize() const;
|
|
|
|
long getMempoolSize() const;
|
|
|
|
//! Return the dynamic memory usage of the mempool
|
|
|
|
//! Return the dynamic memory usage of the mempool
|
|
|
@ -82,8 +82,8 @@ public:
|
|
|
|
QString dataDir() const;
|
|
|
|
QString dataDir() const;
|
|
|
|
|
|
|
|
|
|
|
|
// caches for the best header
|
|
|
|
// caches for the best header
|
|
|
|
std::atomic<int> cachedBestHeaderHeight;
|
|
|
|
mutable std::atomic<int> cachedBestHeaderHeight;
|
|
|
|
std::atomic<int64_t> cachedBestHeaderTime;
|
|
|
|
mutable std::atomic<int64_t> cachedBestHeaderTime;
|
|
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
private:
|
|
|
|
OptionsModel *optionsModel;
|
|
|
|
OptionsModel *optionsModel;
|
|
|
|