diff options
| author | Jonas Schnelli <[email protected]> | 2016-07-19 15:50:50 +0200 |
|---|---|---|
| committer | Jonas Schnelli <[email protected]> | 2016-08-26 09:53:09 +0200 |
| commit | e47052f6b5ea901ecdc1cb8245dd98a98b06618a (patch) | |
| tree | 36ce56606cc4ce302091412264196a9df86a6705 /src/qt/clientmodel.h | |
| parent | [Qt] Always pass the numBlocksChanged signal for headers tip changed (diff) | |
| download | discoin-e47052f6b5ea901ecdc1cb8245dd98a98b06618a.tar.xz discoin-e47052f6b5ea901ecdc1cb8245dd98a98b06618a.zip | |
[Qt] ClientModel add method to get the height of the header chain
Diffstat (limited to 'src/qt/clientmodel.h')
| -rw-r--r-- | src/qt/clientmodel.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qt/clientmodel.h b/src/qt/clientmodel.h index 99fd574b9..f0c9a7988 100644 --- a/src/qt/clientmodel.h +++ b/src/qt/clientmodel.h @@ -51,6 +51,7 @@ public: //! Return number of connections, default is in- and outbound (total) int getNumConnections(unsigned int flags = CONNECTIONS_ALL) const; int getNumBlocks() const; + int getHeaderHeight() const; //! Return number of transactions in the mempool long getMempoolSize() const; |