From c62fc2fb2f03ecedcb61eac32575ae8252d059cb Mon Sep 17 00:00:00 2001 From: oldcold Date: Fri, 28 Jun 2019 13:48:41 +0800 Subject: [PATCH] Add start block debug logging (picked from origin) --- plugins/producer_plugin/producer_plugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/producer_plugin/producer_plugin.cpp b/plugins/producer_plugin/producer_plugin.cpp index b7232b9a5ca..f9841368840 100644 --- a/plugins/producer_plugin/producer_plugin.cpp +++ b/plugins/producer_plugin/producer_plugin.cpp @@ -1413,7 +1413,7 @@ producer_plugin_impl::start_block_result producer_plugin_impl::start_block() { _incoming_trx_weight = 0.0; if (!_pending_incoming_transactions.empty()) { - fc_dlog(_log, "Processing ${n} pending transactions"); + fc_dlog(_log, "Processing ${n} pending transactions", ("n", _pending_incoming_transactions.size())); while (orig_pending_txn_size && _pending_incoming_transactions.size()) { if (preprocess_deadline <= fc::time_point::now()) return start_block_result::exhausted; auto e = _pending_incoming_transactions.front();