Qt: Add GUI view of peer information. #4133

This commit is contained in:
Ashley Holman
2014-05-23 12:09:59 -05:00
parent 9d97e83bf6
commit 65f78a111f
10 changed files with 870 additions and 12 deletions

View File

@@ -9,6 +9,7 @@
class AddressTableModel;
class OptionsModel;
class PeerTableModel;
class TransactionTableModel;
class CWallet;
@@ -42,6 +43,7 @@ public:
~ClientModel();
OptionsModel *getOptionsModel();
PeerTableModel *getPeerTableModel();
//! Return number of connections, default is in- and outbound (total)
int getNumConnections(unsigned int flags = CONNECTIONS_ALL) const;
@@ -71,6 +73,7 @@ public:
private:
OptionsModel *optionsModel;
PeerTableModel *peerTableModel;
int cachedNumBlocks;
bool cachedReindexing;