diff options
author | Ilya Kitaev <mbg033@gmail.com> | 2016-04-26 13:46:20 +0300 |
---|---|---|
committer | Ilya Kitaev <mbg033@gmail.com> | 2016-04-26 13:46:20 +0300 |
commit | 566166aafd29bbca1f4916d4383752945892eb20 (patch) | |
tree | 785b1711ffdb6a1a97d41849f649b103ef28110a /src/wallet/wallet2_api.h | |
parent | Merge remote-tracking branch 'upstream/master' into develop (diff) | |
download | monero-566166aafd29bbca1f4916d4383752945892eb20.tar.xz |
merged with upstream
Diffstat (limited to 'src/wallet/wallet2_api.h')
-rw-r--r-- | src/wallet/wallet2_api.h | 5 |
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); |