From 254a1338adb3c5b62ec55fda5992fa7c9a0ccddd Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Thu, 18 Mar 2021 10:34:37 +0000 Subject: core: speed up print_coinbase_tx_sum It only needs to parse the tx headers, not the full tx data --- src/cryptonote_core/blockchain.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cryptonote_core/blockchain.h') 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 bool get_split_transactions_blobs(const t_ids_container& txs_ids, t_tx_container& txs, t_missed_container& missed_txs) const; template - 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 -- cgit v1.2.3