aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet2.h
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2018-08-15 17:35:49 -0500
committerluigi1111 <luigi1111w@gmail.com>2018-08-15 17:35:49 -0500
commit564e9c3b5f2cfce9955a8476fd7d3b8791bd12b5 (patch)
tree69bdababd478399db9dcee1ba4cf59a148818155 /src/wallet/wallet2.h
parentMerge pull request #4166 (diff)
parentwallet-rpc: add get_address_index command (diff)
downloadmonero-564e9c3b5f2cfce9955a8476fd7d3b8791bd12b5.tar.xz
Merge pull request #4170
1c6cfd3 wallet-rpc: add get_address_index command (stoffu)
Diffstat (limited to 'src/wallet/wallet2.h')
-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 aefb84d8f..3837d4720 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;