Cache successful verRctNonSemanticsSimple calls

This commit is contained in:
SChernykh 2022-12-11 20:30:13 +01:00
parent 8cb10345d6
commit 29208a33cb
4 changed files with 104 additions and 1 deletions

View file

@ -3613,7 +3613,7 @@ bool Blockchain::check_tx_inputs(transaction& tx, tx_verification_context &tvc,
}
}
if (!rct::verRctNonSemanticsSimple(rv))
if (!rct::verRctNonSemanticsSimpleCached(rv))
{
MERROR_VER("Failed to check ringct signatures!");
return false;