add option to change wallet creation height and rescan wallet cache

This commit is contained in:
Jaquee
2017-10-23 18:33:10 +02:00
committed by luigi1111
parent 80a058c954
commit 8f73bac95c
3 changed files with 80 additions and 2 deletions

View File

@@ -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";