libwallet_api: Added option to restore from specific height

This commit is contained in:
Jacob Brydolf
2016-10-08 00:57:09 +02:00
parent 9798bde11e
commit 36a89ab435
5 changed files with 20 additions and 3 deletions
+4
View File
@@ -404,6 +404,10 @@ void WalletImpl::initAsync(const string &daemon_address, uint64_t upper_transact
startRefresh();
}
void WalletImpl::setRefreshFromBlockHeight(uint64_t refresh_from_block_height)
{
m_wallet->set_refresh_from_block_height(refresh_from_block_height);
}
uint64_t WalletImpl::balance() const