/** Pre-computed estimated size of this output as a fully-signed input in a transaction. Can be -1 if it could not be calculated */
/** Pre-computed estimated size of this output as a fully-signed input in a transaction. Can be -1 if it could not be calculated */
intnInputBytes;
intinput_bytes;
/** Whether we have the private keys to spend this output */
/** Whether we have the private keys to spend this output */
boolfSpendable;
boolspendable;
/** Whether we know how to spend this output, ignoring the lack of keys */
/** Whether we know how to spend this output, ignoring the lack of keys */
boolfSolvable;
boolsolvable;
/** Whether to use the maximum sized, 72 byte signature when calculating the size of the input spend. This should only be set when watch-only outputs are allowed */
/** Whether to use the maximum sized, 72 byte signature when calculating the size of the input spend. This should only be set when watch-only outputs are allowed */
static_groups.back().Insert(coin.GetInputCoin(),coin.nDepth,coin.tx->m_amounts[CWalletTx::DEBIT].m_cached[ISMINE_SPENDABLE]&&coin.tx->m_amounts[CWalletTx::DEBIT].m_value[ISMINE_SPENDABLE]==1/* HACK: we can't figure out the is_me flag so we use the conditions defined above; perhaps set safe to false for !fIsFromMe in add_coin() */,0,0,false);
static_groups.back().Insert(coin.GetInputCoin(),coin.depth,coin.tx->m_amounts[CWalletTx::DEBIT].m_cached[ISMINE_SPENDABLE]&&coin.tx->m_amounts[CWalletTx::DEBIT].m_value[ISMINE_SPENDABLE]==1/* HACK: we can't figure out the is_me flag so we use the conditions defined above; perhaps set safe to false for !fIsFromMe in add_coin() */,0,0,false);
coins.at(0).nInputBytes =40;// Make sure that it has a negative effective value. The next check should assert if this somehow got through. Otherwise it will fail
coins.at(0).input_bytes =40;// Make sure that it has a negative effective value. The next check should assert if this somehow got through. Otherwise it will fail