class TransactionTableModel;
class CWallet;
+QT_BEGIN_NAMESPACE
+class QDateTime;
+QT_END_NAMESPACE
+
// Interface to Bitcoin network client
class ClientModel : public QObject
{
int getNumConnections() const;
int getNumBlocks() const;
+ QDateTime getLastBlockDate() const;
+
// Return true if client connected to testnet
bool isTestNet() const;
// Return true if core is doing initial block download
// Return conservative estimate of total number of blocks, or 0 if unknown
int getTotalBlocksEstimate() const;
+ QString formatFullVersion() const;
+
private:
CWallet *wallet;