mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
blockchain: log number of outputs available for a new tx
This commit is contained in:
parent
b91fc2dc3c
commit
5e1a7391e8
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
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);
|
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
|
// n_outputs includes the output we're considering
|
||||||
if (n_outputs <= 2)
|
if (n_outputs <= 2)
|
||||||
++n_unmixable;
|
++n_unmixable;
|
||||||
|
|
Loading…
Reference in a new issue