aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet2.h
diff options
context:
space:
mode:
authorIlya Kitaev <mbg033@gmail.com>2016-09-26 21:35:00 +0300
committerIlya Kitaev <mbg033@gmail.com>2016-09-26 23:19:25 +0300
commit7b4a85b309aa0fb864d63a2fd6f1ae062aaa71dd (patch)
treebd7c073734e9de7b2326ded18bfda73557aaa9eb /src/wallet/wallet2.h
parentlibwallet_api: Wallet::blockChainHeight, WalletListener::newBlock (diff)
downloadmonero-7b4a85b309aa0fb864d63a2fd6f1ae062aaa71dd.tar.xz
wallet2_api: added Wallet::daemonBlockChainHeight()
Diffstat (limited to 'src/wallet/wallet2.h')
-rw-r--r--src/wallet/wallet2.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wallet/wallet2.h b/src/wallet/wallet2.h
index 89b613d34..dd7cd19dc 100644
--- a/src/wallet/wallet2.h
+++ b/src/wallet/wallet2.h
@@ -400,6 +400,7 @@ namespace tools
std::string get_wallet_file() const;
std::string get_keys_file() const;
std::string get_daemon_address() const;
+ uint64_t get_daemon_blockchain_height(std::string& err);
std::vector<size_t> select_available_outputs_from_histogram(uint64_t count, bool atleast, bool unlocked, bool trusted_daemon);
std::vector<size_t> select_available_outputs(const std::function<bool(const transfer_details &td)> &f);