aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/api/wallet.h
diff options
context:
space:
mode:
authorIlya Kitaev <mbg033@gmail.com>2016-09-30 02:11:28 +0300
committerIlya Kitaev <mbg033@gmail.com>2016-09-30 02:11:28 +0300
commit1f73f80c94f2f60990abd2e07f4e75eb59112b30 (patch)
tree49d3cf62c49db035d7d434f34a6b071a8087b97a /src/wallet/api/wallet.h
parentlibwallet_api: test for create/init wallet on mainnet (diff)
downloadmonero-1f73f80c94f2f60990abd2e07f4e75eb59112b30.tar.xz
libwallet_api: fast-refresh for new wallet
Diffstat (limited to 'src/wallet/api/wallet.h')
-rw-r--r--src/wallet/api/wallet.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/wallet/api/wallet.h b/src/wallet/api/wallet.h
index d97a8f3b3..e2eb05167 100644
--- a/src/wallet/api/wallet.h
+++ b/src/wallet/api/wallet.h
@@ -101,6 +101,8 @@ private:
void startRefresh();
void stopRefresh();
void pauseRefresh();
+ bool isNewWallet() const;
+ void doInit(const std::string &daemon_address, uint64_t upper_transaction_size_limit);
private:
friend class PendingTransactionImpl;
@@ -126,6 +128,7 @@ private:
boost::mutex m_refreshMutex2;
boost::condition_variable m_refreshCV;
boost::thread m_refreshThread;
+ bool m_newWallet;
};