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/cryptonote_core/blockchain.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/cryptonote_core/blockchain.h')
-rw-r--r-- | src/cryptonote_core/blockchain.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cryptonote_core/blockchain.h b/src/cryptonote_core/blockchain.h index 67bccc6c6..251c262ee 100644 --- a/src/cryptonote_core/blockchain.h +++ b/src/cryptonote_core/blockchain.h @@ -521,10 +521,12 @@ namespace cryptonote * * @param tx_id the hash of the transaction to fetch indices for * @param indexs return-by-reference the global indices for the transaction's outputs + * @param n_txes how many txes in a row to get results for * * @return false if the transaction does not exist, or if no indices are found, otherwise true */ bool get_tx_outputs_gindexs(const crypto::hash& tx_id, std::vector<uint64_t>& indexs) const; + bool get_tx_outputs_gindexs(const crypto::hash& tx_id, size_t n_txes, std::vector<std::vector<uint64_t>>& indexs) const; /** * @brief stores the blockchain |