diff options
author | Riccardo Spagni <ric@spagni.net> | 2019-01-16 19:06:06 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2019-01-16 19:06:07 +0200 |
commit | 9d57ee9ff601587b137289d556c9f1d4bd9bd2ef (patch) | |
tree | 63e1640fcf85a172e9a0723093ab29f73d7813fd /src/blockchain_db/blockchain_db.h | |
parent | Merge pull request #4981 (diff) | |
parent | blockchain_db: speedup tx output gathering (diff) | |
download | monero-9d57ee9ff601587b137289d556c9f1d4bd9bd2ef.tar.xz |
Merge pull request #4984
008647d7 blockchain_db: speedup tx output gathering (moneromooo-monero)
Diffstat (limited to 'src/blockchain_db/blockchain_db.h')
-rw-r--r-- | src/blockchain_db/blockchain_db.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/blockchain_db/blockchain_db.h b/src/blockchain_db/blockchain_db.h index 9d4f59b3c..5c80bfe4a 100644 --- a/src/blockchain_db/blockchain_db.h +++ b/src/blockchain_db/blockchain_db.h @@ -1329,10 +1329,11 @@ public: * If an output cannot be found, the subclass should throw OUTPUT_DNE. * * @param tx_id a transaction ID + * @param n_txes how many txes to get data for, starting with tx_id * * @return a list of amount-specific output indices */ - virtual std::vector<uint64_t> get_tx_amount_output_indices(const uint64_t tx_id) const = 0; + virtual std::vector<std::vector<uint64_t>> get_tx_amount_output_indices(const uint64_t tx_id, size_t n_txes = 1) const = 0; /** * @brief check if a key image is stored as spent |