mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
Wallet API: added setRecoveringFromSeed();
This commit is contained in:
parent
0673db16ad
commit
a8cd65646c
3 changed files with 12 additions and 0 deletions
|
@ -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 a new issue