diff options
| author | Jaquee <jaquee.monero@gmail.com> | 2017-08-24 11:31:06 +0200 |
|---|---|---|
| committer | Jaquee <jaquee.monero@gmail.com> | 2017-08-24 11:31:06 +0200 |
| commit | 31f318aaeaccefd36ba86b032b2a64f27510c89e (patch) | |
| tree | 389942802d7d5489f017c3b20e306d4fa7117ea3 /src | |
| parent | 94c92ba73c1ffc1d8efed78e30de2b65b4904a84 (diff) | |
| download | monzero-gui-31f318aaeaccefd36ba86b032b2a64f27510c89e.tar.gz monzero-gui-31f318aaeaccefd36ba86b032b2a64f27510c89e.tar.xz monzero-gui-31f318aaeaccefd36ba86b032b2a64f27510c89e.zip | |
add wallet creation height getter
Diffstat (limited to 'src')
| -rw-r--r-- | src/libwalletqt/Wallet.h | 2 |
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; |
