wallet2_api: added Wallet::daemonBlockChainHeight()
This commit is contained in:
@@ -76,6 +76,7 @@ public:
|
||||
uint64_t balance() const;
|
||||
uint64_t unlockedBalance() const;
|
||||
uint64_t blockChainHeight() const;
|
||||
uint64_t daemonBlockChainHeight() const;
|
||||
bool refresh();
|
||||
void refreshAsync();
|
||||
void setAutoRefreshInterval(int seconds);
|
||||
@@ -106,8 +107,8 @@ private:
|
||||
friend class TransactionHistoryImpl;
|
||||
|
||||
tools::wallet2 * m_wallet;
|
||||
std::atomic<int> m_status;
|
||||
std::string m_errorString;
|
||||
mutable std::atomic<int> m_status;
|
||||
mutable std::string m_errorString;
|
||||
std::string m_password;
|
||||
TransactionHistoryImpl * m_history;
|
||||
bool m_trustedDaemon;
|
||||
|
||||
Reference in New Issue
Block a user