Display a "freshness" indicator instead of nr of blocks

This commit is contained in:
Wladimir J. van der Laan
2011-07-08 18:05:10 +02:00
parent 8ffec99b07
commit 84c8506e90
5 changed files with 53 additions and 3 deletions

View File

@@ -8,6 +8,10 @@ class AddressTableModel;
class TransactionTableModel;
class CWallet;
QT_BEGIN_NAMESPACE
class QDateTime;
QT_END_NAMESPACE
// Interface to Bitcoin network client
class ClientModel : public QObject
{
@@ -22,6 +26,8 @@ public:
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