Cache successful verRctNonSemanticsSimple calls

This commit is contained in:
SChernykh
2022-12-08 09:56:20 +01:00
parent 9367b432f6
commit 1a568deacb
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;