mirror of
https://github.com/monero-project/monero.git
synced 2024-10-01 11:49:47 -04:00
Merge pull request #1201
a8cd656
Wallet API: added setRecoveringFromSeed(); (Jacob Brydolf)
This commit is contained in:
commit
304c087dd0
@ -416,6 +416,10 @@ void WalletImpl::setRefreshFromBlockHeight(uint64_t refresh_from_block_height)
|
||||
m_wallet->set_refresh_from_block_height(refresh_from_block_height);
|
||||
}
|
||||
|
||||
void WalletImpl::setRecoveringFromSeed(bool recoveringFromSeed)
|
||||
{
|
||||
m_recoveringFromSeed = recoveringFromSeed;
|
||||
}
|
||||
|
||||
uint64_t WalletImpl::balance() const
|
||||
{
|
||||
|
@ -84,6 +84,7 @@ public:
|
||||
void setAutoRefreshInterval(int millis);
|
||||
int autoRefreshInterval() const;
|
||||
void setRefreshFromBlockHeight(uint64_t refresh_from_block_height);
|
||||
void setRecoveringFromSeed(bool recoveringFromSeed);
|
||||
|
||||
|
||||
|
||||
|
@ -226,6 +226,13 @@ struct Wallet
|
||||
*/
|
||||
virtual void setRefreshFromBlockHeight(uint64_t refresh_from_block_height) = 0;
|
||||
|
||||
/*!
|
||||
* \brief setRecoveringFromSeed - set state recover form seed
|
||||
*
|
||||
* \param recoveringFromSeed - true/false
|
||||
*/
|
||||
virtual void setRecoveringFromSeed(bool recoveringFromSeed) = 0;
|
||||
|
||||
/**
|
||||
* @brief connectToDaemon - connects to the daemon. TODO: check if it can be removed
|
||||
* @return
|
||||
|
Loading…
Reference in New Issue
Block a user