diff options
author | Riccardo Spagni <ric@spagni.net> | 2018-11-26 21:51:27 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2018-11-26 21:51:27 +0200 |
commit | 58ce16d4d91518b674a5d46419809f56f71d9114 (patch) | |
tree | a1b1ba85e2cebc1798f75654c118e327b2219e81 /src/blockchain_db/lmdb/db_lmdb.h | |
parent | Merge pull request #4834 (diff) | |
parent | rpc: speedup get_outs.bin (diff) | |
download | monero-58ce16d4d91518b674a5d46419809f56f71d9114.tar.xz |
Merge pull request #4821
fc98f7a0 rpc: speedup get_outs.bin (moneromooo-monero)
Diffstat (limited to 'src/blockchain_db/lmdb/db_lmdb.h')
-rw-r--r-- | src/blockchain_db/lmdb/db_lmdb.h | 2 |
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 7e76236a5..26159ab4d 100644 --- a/src/blockchain_db/lmdb/db_lmdb.h +++ b/src/blockchain_db/lmdb/db_lmdb.h @@ -243,7 +243,7 @@ public: virtual uint64_t get_num_outputs(const uint64_t& amount) const; virtual output_data_t get_output_key(const uint64_t& amount, const uint64_t& index); - virtual void get_output_key(const uint64_t &amount, const std::vector<uint64_t> &offsets, std::vector<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<output_data_t> &outputs, bool allow_partial = false); virtual tx_out_index get_output_tx_and_index_from_global(const uint64_t& index) const; virtual void get_output_tx_and_index_from_global(const std::vector<uint64_t> &global_indices, |