mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 23:18:14 +01:00
Display a "freshness" indicator instead of nr of blocks
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user