from hard fork 2, all outputs must be decomposed

The wallet decomposes fully as of now too.
This commit is contained in:
moneromooo-monero
2015-10-06 16:22:19 +01:00
parent 90ccad1236
commit ac90d488e7
6 changed files with 67 additions and 48 deletions

View File

@@ -125,6 +125,12 @@ namespace cryptonote
}
}
if (!m_blockchain.check_tx_outputs(tx))
{
LOG_PRINT_L1("Transaction with id= "<< id << " has at least one invalid outout");
tvc.m_verifivation_failed = true;
return false;
}
crypto::hash max_used_block_id = null_hash;
uint64_t max_used_block_height = 0;