aboutsummaryrefslogtreecommitdiff
path: root/src/blockchain_db/blockchain_db.h
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2018-11-26 21:51:27 +0200
committerRiccardo Spagni <ric@spagni.net>2018-11-26 21:51:27 +0200
commit58ce16d4d91518b674a5d46419809f56f71d9114 (patch)
treea1b1ba85e2cebc1798f75654c118e327b2219e81 /src/blockchain_db/blockchain_db.h
parentMerge pull request #4834 (diff)
parentrpc: speedup get_outs.bin (diff)
downloadmonero-58ce16d4d91518b674a5d46419809f56f71d9114.tar.xz
Merge pull request #4821
fc98f7a0 rpc: speedup get_outs.bin (moneromooo-monero)
Diffstat (limited to 'src/blockchain_db/blockchain_db.h')
-rw-r--r--src/blockchain_db/blockchain_db.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/blockchain_db/blockchain_db.h b/src/blockchain_db/blockchain_db.h
index 7118b0881..53e33898a 100644
--- a/src/blockchain_db/blockchain_db.h
+++ b/src/blockchain_db/blockchain_db.h
@@ -1307,11 +1307,11 @@ public:
* get_output_data(const uint64_t& amount, const uint64_t& index)
* but for a list of outputs rather than just one.
*
- * @param amount an output amount
+ * @param amounts an output amount, or as many as offsets
* @param offsets a list of amount-specific output indices
* @param outputs return-by-reference a list of outputs' metadata
*/
- 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) = 0;
+ 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) = 0;
/*
* FIXME: Need to check with git blame and ask what this does to