diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2016-01-31 10:59:12 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2016-01-31 10:59:58 +0000 |
commit | 5e1a7391e8027b7aa66dfdcab4f97c3a56ae0f2b (patch) | |
tree | 4df3d2119821266d6b225b4c37d618e99578e6bd /src | |
parent | Merge pull request #629 (diff) | |
download | monero-5e1a7391e8027b7aa66dfdcab4f97c3a56ae0f2b.tar.xz |
blockchain: log number of outputs available for a new tx
Diffstat (limited to 'src')
-rw-r--r-- | src/cryptonote_core/blockchain.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cryptonote_core/blockchain.cpp b/src/cryptonote_core/blockchain.cpp index b27927c0a..edcdd0a2c 100644 --- a/src/cryptonote_core/blockchain.cpp +++ b/src/cryptonote_core/blockchain.cpp @@ -2043,6 +2043,7 @@ bool Blockchain::check_tx_inputs(const transaction& tx, uint64_t* pmax_used_bloc { const txin_to_key& in_to_key = boost::get<txin_to_key>(txin); uint64_t n_outputs = m_db->get_num_outputs(in_to_key.amount); + LOG_PRINT_L2("output size " << print_money(in_to_key.amount) << ": " << n_outputs << " available"); // n_outputs includes the output we're considering if (n_outputs <= 2) ++n_unmixable; |