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 | cb996d15c50ea973e0a33f1f7122672d9ae3b36c (diff) | |
| parent | 008647d7eb8f0bd72f7a9f8a49fe611fc4d5e0fe (diff) | |
| download | monzero-core-9d57ee9ff601587b137289d556c9f1d4bd9bd2ef.tar.gz monzero-core-9d57ee9ff601587b137289d556c9f1d4bd9bd2ef.tar.xz monzero-core-9d57ee9ff601587b137289d556c9f1d4bd9bd2ef.zip | |
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 |
