diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-11-07 21:13:00 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-11-26 18:56:23 +0000 |
commit | fc98f7a0a13c1246b67ed4d7fb40705bb68a8b93 (patch) | |
tree | cca519bb22accb219b7aa41b631fd46e6f2cffce /tests/unit_tests/testdb.h | |
parent | Merge pull request #4824 (diff) | |
download | monero-fc98f7a0a13c1246b67ed4d7fb40705bb68a8b93.tar.xz |
rpc: speedup get_outs.bin
Diffstat (limited to 'tests/unit_tests/testdb.h')
-rw-r--r-- | tests/unit_tests/testdb.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit_tests/testdb.h b/tests/unit_tests/testdb.h index b6962cc41..a9c772920 100644 --- a/tests/unit_tests/testdb.h +++ b/tests/unit_tests/testdb.h @@ -93,7 +93,7 @@ public: virtual cryptonote::tx_out_index get_output_tx_and_index_from_global(const uint64_t& index) const { return cryptonote::tx_out_index(); } virtual cryptonote::tx_out_index get_output_tx_and_index(const uint64_t& amount, const uint64_t& index) const { return cryptonote::tx_out_index(); } virtual void get_output_tx_and_index(const uint64_t& amount, const std::vector<uint64_t> &offsets, std::vector<cryptonote::tx_out_index> &indices) const {} - virtual void get_output_key(const uint64_t &amount, const std::vector<uint64_t> &offsets, std::vector<cryptonote::output_data_t> &outputs, bool allow_partial = false) {} + virtual void get_output_key(const epee::span<const uint64_t> &amounts, const std::vector<uint64_t> &offsets, std::vector<cryptonote::output_data_t> &outputs, bool allow_partial = false) {} virtual bool can_thread_bulk_indices() const { return false; } virtual std::vector<uint64_t> get_tx_output_indices(const crypto::hash& h) const { return std::vector<uint64_t>(); } virtual std::vector<uint64_t> get_tx_amount_output_indices(const uint64_t tx_index) const { return std::vector<uint64_t>(); } |