aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaquee <jaquee.monero@gmail.com>2017-08-24 11:31:06 +0200
committerJaquee <jaquee.monero@gmail.com>2017-08-24 11:31:06 +0200
commit31f318aaeaccefd36ba86b032b2a64f27510c89e (patch)
tree389942802d7d5489f017c3b20e306d4fa7117ea3
parent94c92ba73c1ffc1d8efed78e30de2b65b4904a84 (diff)
downloadmonzero-gui-31f318aaeaccefd36ba86b032b2a64f27510c89e.tar.gz
monzero-gui-31f318aaeaccefd36ba86b032b2a64f27510c89e.tar.xz
monzero-gui-31f318aaeaccefd36ba86b032b2a64f27510c89e.zip
add wallet creation height getter
-rw-r--r--src/libwalletqt/Wallet.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libwalletqt/Wallet.h b/src/libwalletqt/Wallet.h
index 01298cf1..3fcc057f 100644
--- a/src/libwalletqt/Wallet.h
+++ b/src/libwalletqt/Wallet.h
@@ -47,6 +47,7 @@ class Wallet : public QObject
Q_PROPERTY(QString publicSpendKey READ getPublicSpendKey)
Q_PROPERTY(QString daemonLogPath READ getDaemonLogPath CONSTANT)
Q_PROPERTY(QString walletLogPath READ getWalletLogPath CONSTANT)
+ Q_PROPERTY(quint64 walletCreationHeight READ getWalletCreationHeight CONSTANT)
public:
@@ -243,6 +244,7 @@ public:
QString getSecretSpendKey() const {return QString::fromStdString(m_walletImpl->secretSpendKey());}
QString getPublicSpendKey() const {return QString::fromStdString(m_walletImpl->publicSpendKey());}
+ quint64 getWalletCreationHeight() const {return m_walletImpl->getRefreshFromBlockHeight();}
QString getDaemonLogPath() const;
QString getWalletLogPath() const;