aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet2_api.h
diff options
context:
space:
mode:
authorIlya Kitaev <mbg033@gmail.com>2016-04-26 13:46:20 +0300
committerIlya Kitaev <mbg033@gmail.com>2016-06-23 15:50:40 +0300
commit3dd4b4ccf978338dd270184f1e955a163cf7fa52 (patch)
treea7689e1e6cc8f783653d7b688aedc174cff72bfa /src/wallet/wallet2_api.h
parentWallet API : transaction history in progress (diff)
downloadmonero-3dd4b4ccf978338dd270184f1e955a163cf7fa52.tar.xz
merged with upstream
Diffstat (limited to 'src/wallet/wallet2_api.h')
-rw-r--r--src/wallet/wallet2_api.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/wallet/wallet2_api.h b/src/wallet/wallet2_api.h
index 4954db0d2..ab715dbf9 100644
--- a/src/wallet/wallet2_api.h
+++ b/src/wallet/wallet2_api.h
@@ -38,6 +38,9 @@
// Public interface for libwallet library
namespace Bitmonero {
+ namespace Utils {
+ bool isAddressLocal(const std::string &hostaddr);
+ }
/**
* @brief Transaction-like interface for sending money
*/
@@ -117,6 +120,8 @@ struct Wallet
virtual bool store(const std::string &path) = 0;
virtual bool init(const std::string &daemon_address, uint64_t upper_transaction_size_limit) = 0;
virtual bool connectToDaemon() = 0;
+ virtual void setTrustedDaemon(bool arg) = 0;
+ virtual bool trustedDaemon() const = 0;
virtual uint64_t balance() const = 0;
virtual uint64_t unlockedBalance() const = 0;
static std::string displayAmount(uint64_t amount);