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/blockchain.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/blockchain.h')
-rw-r--r-- | src/cryptonote_core/blockchain.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cryptonote_core/blockchain.h b/src/cryptonote_core/blockchain.h index 5291f1338..a0e7967de 100644 --- a/src/cryptonote_core/blockchain.h +++ b/src/cryptonote_core/blockchain.h @@ -721,7 +721,7 @@ namespace cryptonote template<class t_ids_container, class t_tx_container, class t_missed_container> bool get_split_transactions_blobs(const t_ids_container& txs_ids, t_tx_container& txs, t_missed_container& missed_txs) const; template<class t_ids_container, class t_tx_container, class t_missed_container> - bool get_transactions(const t_ids_container& txs_ids, t_tx_container& txs, t_missed_container& missed_txs) const; + bool get_transactions(const t_ids_container& txs_ids, t_tx_container& txs, t_missed_container& missed_txs, bool pruned = false) const; //debug functions |