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-04-26 13:46:20 +0300
commit566166aafd29bbca1f4916d4383752945892eb20 (patch)
tree785b1711ffdb6a1a97d41849f649b103ef28110a /src/wallet/wallet2_api.h
parentMerge remote-tracking branch 'upstream/master' into develop (diff)
downloadmonero-566166aafd29bbca1f4916d4383752945892eb20.tar.xz
merged with upstream
Diffstat (limited to '')
-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);