aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2019-01-16 19:06:06 +0200
committerRiccardo Spagni <ric@spagni.net>2019-01-16 19:06:07 +0200
commit9d57ee9ff601587b137289d556c9f1d4bd9bd2ef (patch)
tree63e1640fcf85a172e9a0723093ab29f73d7813fd /tests
parentMerge pull request #4981 (diff)
parentblockchain_db: speedup tx output gathering (diff)
downloadmonero-9d57ee9ff601587b137289d556c9f1d4bd9bd2ef.tar.xz
Merge pull request #4984
008647d7 blockchain_db: speedup tx output gathering (moneromooo-monero)
Diffstat (limited to 'tests')
-rw-r--r--tests/unit_tests/testdb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit_tests/testdb.h b/tests/unit_tests/testdb.h
index 709ab40b7..b8fef8ed3 100644
--- a/tests/unit_tests/testdb.h
+++ b/tests/unit_tests/testdb.h
@@ -96,7 +96,7 @@ public:
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) const {}
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>(); }
+ virtual std::vector<std::vector<uint64_t>> get_tx_amount_output_indices(const uint64_t tx_index, size_t n_txes) const { return std::vector<std::vector<uint64_t>>(); }
virtual bool has_key_image(const crypto::key_image& img) const { return false; }
virtual void remove_block() { }
virtual uint64_t add_transaction_data(const crypto::hash& blk_hash, const cryptonote::transaction& tx, const crypto::hash& tx_hash, const crypto::hash& tx_prunable_hash) {return 0;}