tx_pool: add blob size and fee/byte when logging a new tx

This commit is contained in:
moneromooo-monero 2017-04-04 09:04:11 +01:00
parent c9063c0b8f
commit 893f5a301e
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3

View file

@ -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;
}
//---------------------------------------------------------------------------------