aboutsummaryrefslogtreecommitdiff
path: root/src/blockchain_db/lmdb/db_lmdb.h
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-12-16 13:28:49 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-12-18 11:55:21 +0000
commit008647d7eb8f0bd72f7a9f8a49fe611fc4d5e0fe (patch)
treef8e058256c82ff9606e8eddbf71a9ae41cb1139f /src/blockchain_db/lmdb/db_lmdb.h
parentMerge pull request #4927 (diff)
downloadmonero-008647d7eb8f0bd72f7a9f8a49fe611fc4d5e0fe.tar.xz
blockchain_db: speedup tx output gathering
We know all the data we'll want for getblocks.bin is contiguous
Diffstat (limited to '')
-rw-r--r--src/blockchain_db/lmdb/db_lmdb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/blockchain_db/lmdb/db_lmdb.h b/src/blockchain_db/lmdb/db_lmdb.h
index 6db241240..a9d53679e 100644
--- a/src/blockchain_db/lmdb/db_lmdb.h
+++ b/src/blockchain_db/lmdb/db_lmdb.h
@@ -252,7 +252,7 @@ public:
virtual tx_out_index get_output_tx_and_index(const uint64_t& amount, const uint64_t& index) const;
virtual void get_output_tx_and_index(const uint64_t& amount, const std::vector<uint64_t> &offsets, std::vector<tx_out_index> &indices) const;
- virtual std::vector<uint64_t> get_tx_amount_output_indices(const uint64_t tx_id) const;
+ virtual std::vector<std::vector<uint64_t>> get_tx_amount_output_indices(const uint64_t tx_id, size_t n_txes) const;
virtual bool has_key_image(const crypto::key_image& img) const;