aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-04-04 09:04:11 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-04-04 09:04:11 +0100
commit893f5a301e67af9b61ab6983f2b0fe3f66f23ad7 (patch)
treed41d131c8dddca3f980220ed56f25cc83319f875 /src
parentMerge pull request #1930 (diff)
downloadmonero-893f5a301e67af9b61ab6983f2b0fe3f66f23ad7.tar.xz
tx_pool: add blob size and fee/byte when logging a new tx
Diffstat (limited to '')
-rw-r--r--src/cryptonote_core/tx_pool.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cryptonote_core/tx_pool.cpp b/src/cryptonote_core/tx_pool.cpp
index da5e6636a..37b6fb4b0 100644
--- a/src/cryptonote_core/tx_pool.cpp
+++ b/src/cryptonote_core/tx_pool.cpp
@@ -258,7 +258,7 @@ namespace cryptonote
m_txs_by_fee_and_receive_time.emplace(std::pair<double, std::time_t>(fee / (double)blob_size, receive_time), id);
- MINFO("Transaction " << id << " added to pool");
+ MINFO("Transaction added to pool: txid " << id << " bytes: " << blob_size << " fee/byte: " << (fee / (double)blob_size));
return true;
}
//---------------------------------------------------------------------------------