diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-02-10 10:38:33 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-02-16 17:13:06 +0000 |
commit | f2c4c39971f25adaecde377ad325856ea785b9ac (patch) | |
tree | 772b8ec46b08407cc073767f058e0c43b41b70f1 /src/wallet/wallet2.h | |
parent | Merge pull request #3198 (diff) | |
download | monero-f2c4c39971f25adaecde377ad325856ea785b9ac.tar.xz |
wallet2: speed up subaddress generation (by about a third)
Diffstat (limited to '')
-rw-r--r-- | src/wallet/wallet2.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wallet/wallet2.h b/src/wallet/wallet2.h index f768581b2..e92abbc69 100644 --- a/src/wallet/wallet2.h +++ b/src/wallet/wallet2.h @@ -602,6 +602,7 @@ namespace tools cryptonote::account_public_address get_subaddress(const cryptonote::subaddress_index& index) const; cryptonote::account_public_address get_address() const { return get_subaddress({0,0}); } 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; std::string get_address_as_str() const { return get_subaddress_as_str({0, 0}); } std::string get_integrated_address_as_str(const crypto::hash8& payment_id) const; |