mirror of
https://github.com/monero-project/monero.git
synced 2024-12-28 01:39:24 -05:00
Wallet API: added setRecoveringFromSeed();
This commit is contained in:
parent
0673db16ad
commit
a8cd65646c
@ -416,6 +416,10 @@ void WalletImpl::setRefreshFromBlockHeight(uint64_t refresh_from_block_height)
|
|||||||
m_wallet->set_refresh_from_block_height(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
|
uint64_t WalletImpl::balance() const
|
||||||
{
|
{
|
||||||
|
@ -84,6 +84,7 @@ public:
|
|||||||
void setAutoRefreshInterval(int millis);
|
void setAutoRefreshInterval(int millis);
|
||||||
int autoRefreshInterval() const;
|
int autoRefreshInterval() const;
|
||||||
void setRefreshFromBlockHeight(uint64_t refresh_from_block_height);
|
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;
|
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
|
* @brief connectToDaemon - connects to the daemon. TODO: check if it can be removed
|
||||||
* @return
|
* @return
|
||||||
|
Loading…
Reference in New Issue
Block a user