From 8f73bac95c56ea1e887b87fa1d5865effa36b856 Mon Sep 17 00:00:00 2001 From: Jaquee Date: Mon, 23 Oct 2017 18:33:10 +0200 Subject: add option to change wallet creation height and rescan wallet cache --- src/libwalletqt/Wallet.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/libwalletqt/Wallet.cpp') diff --git a/src/libwalletqt/Wallet.cpp b/src/libwalletqt/Wallet.cpp index 5a71debf..4238940a 100644 --- a/src/libwalletqt/Wallet.cpp +++ b/src/libwalletqt/Wallet.cpp @@ -599,6 +599,12 @@ bool Wallet::useForkRules(quint8 required_version, quint64 earlyBlocks) const } } +void Wallet::setWalletCreationHeight(quint64 height) +{ + m_walletImpl->setRefreshFromBlockHeight(height); + emit walletCreationHeightChanged(); +} + QString Wallet::getDaemonLogPath() const { return QString::fromStdString(m_walletImpl->getDefaultDataDir()) + "/bitmonero.log"; -- cgit v1.2.3