diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2016-12-17 12:48:22 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2016-12-17 13:05:17 +0000 |
commit | 9a2cd7225727b3cdb7fb8b414cd99b32d974d249 (patch) | |
tree | 380330a491ab6a6c3ad2b16791c25031cf7fcbda /src/wallet/wallet2_api.h | |
parent | Merge pull request #1459 (diff) | |
download | monero-9a2cd7225727b3cdb7fb8b414cd99b32d974d249.tar.xz |
wallet2_api: add an API to the OpenAlias resolver
Diffstat (limited to 'src/wallet/wallet2_api.h')
-rw-r--r-- | src/wallet/wallet2_api.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/wallet/wallet2_api.h b/src/wallet/wallet2_api.h index 6651b876d..2e1d95b58 100644 --- a/src/wallet/wallet2_api.h +++ b/src/wallet/wallet2_api.h @@ -561,6 +561,9 @@ struct WalletManager //! returns current mining hash rate (0 if not mining) virtual double miningHashRate() const = 0; + + //! resolves an OpenAlias address to a monero address + virtual std::string resolveOpenAlias(const std::string &address, bool &dnssec_valid) const = 0; }; |