tx_pool: add blob size and fee/byte when logging a new tx
This commit is contained in:
parent
c9063c0b8f
commit
893f5a301e
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
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;
|
return true;
|
||||||
}
|
}
|
||||||
//---------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in a new issue