diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2021-03-18 10:34:37 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2021-03-18 11:16:08 +0000 |
commit | 254a1338adb3c5b62ec55fda5992fa7c9a0ccddd (patch) | |
tree | d3cb404b2bc6c746b531caede41b26d985be4b8d /src/cryptonote_core/cryptonote_core.h | |
parent | Merge pull request #7399 (diff) | |
download | monero-254a1338adb3c5b62ec55fda5992fa7c9a0ccddd.tar.xz |
core: speed up print_coinbase_tx_sum
It only needs to parse the tx headers, not the full tx data
Diffstat (limited to 'src/cryptonote_core/cryptonote_core.h')
-rw-r--r-- | src/cryptonote_core/cryptonote_core.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cryptonote_core/cryptonote_core.h b/src/cryptonote_core/cryptonote_core.h index 8891540a9..8478049f9 100644 --- a/src/cryptonote_core/cryptonote_core.h +++ b/src/cryptonote_core/cryptonote_core.h @@ -385,7 +385,7 @@ namespace cryptonote * * @note see Blockchain::get_transactions */ - bool get_transactions(const std::vector<crypto::hash>& txs_ids, std::vector<cryptonote::blobdata>& txs, std::vector<crypto::hash>& missed_txs) const; + bool get_transactions(const std::vector<crypto::hash>& txs_ids, std::vector<cryptonote::blobdata>& txs, std::vector<crypto::hash>& missed_txs, bool pruned = false) const; /** * @copydoc Blockchain::get_transactions @@ -399,7 +399,7 @@ namespace cryptonote * * @note see Blockchain::get_transactions */ - bool get_transactions(const std::vector<crypto::hash>& txs_ids, std::vector<transaction>& txs, std::vector<crypto::hash>& missed_txs) const; + bool get_transactions(const std::vector<crypto::hash>& txs_ids, std::vector<transaction>& txs, std::vector<crypto::hash>& missed_txs, bool pruned = false) const; /** * @copydoc Blockchain::get_block_by_hash |