mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
walletAPI: add getRefreshFromBlockHeight()
This commit is contained in:
parent
48c0cb1ba6
commit
e31aac80e5
2 changed files with 7 additions and 0 deletions
|
@ -98,6 +98,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);
|
||||||
|
uint64_t getRefreshFromBlockHeight() const { return m_wallet->get_refresh_from_block_height(); };
|
||||||
void setRecoveringFromSeed(bool recoveringFromSeed);
|
void setRecoveringFromSeed(bool recoveringFromSeed);
|
||||||
bool watchOnly() const;
|
bool watchOnly() const;
|
||||||
bool rescanSpent();
|
bool rescanSpent();
|
||||||
|
|
|
@ -379,6 +379,12 @@ struct Wallet
|
||||||
*/
|
*/
|
||||||
virtual void setRefreshFromBlockHeight(uint64_t refresh_from_block_height) = 0;
|
virtual void setRefreshFromBlockHeight(uint64_t refresh_from_block_height) = 0;
|
||||||
|
|
||||||
|
/*!
|
||||||
|
* \brief getRestoreHeight - get wallet creation height
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
virtual uint64_t getRefreshFromBlockHeight() const = 0;
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
* \brief setRecoveringFromSeed - set state recover form seed
|
* \brief setRecoveringFromSeed - set state recover form seed
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in a new issue