aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet2.h
diff options
context:
space:
mode:
authorstoffu <stoffu@protonmail.ch>2018-07-23 23:45:11 +0900
committerstoffu <stoffu@protonmail.ch>2018-07-31 21:36:12 +0900
commit1c6cfd34f4ad5939ebeb29a9776faf2f29c8b04f (patch)
treeb7c3f8598f2f975b1deb98ef3288f4ec16f5d681 /src/wallet/wallet2.h
parentMerge pull request #4088 (diff)
downloadmonero-1c6cfd34f4ad5939ebeb29a9776faf2f29c8b04f.tar.xz
wallet-rpc: add get_address_index command
Diffstat (limited to '')
-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 d4d76e66c..dc2725a67 100644
--- a/src/wallet/wallet2.h
+++ b/src/wallet/wallet2.h
@@ -659,6 +659,7 @@ namespace tools
// Subaddress scheme
cryptonote::account_public_address get_subaddress(const cryptonote::subaddress_index& index) const;
cryptonote::account_public_address get_address() const { return get_subaddress({0,0}); }
+ boost::optional<cryptonote::subaddress_index> get_subaddress_index(const cryptonote::account_public_address& address) const;
crypto::public_key get_subaddress_spend_public_key(const cryptonote::subaddress_index& index) const;
std::vector<crypto::public_key> get_subaddress_spend_public_keys(uint32_t account, uint32_t begin, uint32_t end) const;
std::string get_subaddress_as_str(const cryptonote::subaddress_index& index) const;