bulletproofs: add aggregated verification
Ported from sarang's java code
This commit is contained in:
@@ -2988,7 +2988,7 @@ bool Blockchain::check_tx_inputs(transaction& tx, tx_verification_context &tvc,
|
||||
}
|
||||
}
|
||||
|
||||
if (!rct::verRctSimple(rv, false))
|
||||
if (!rct::verRctNonSemanticsSimple(rv))
|
||||
{
|
||||
MERROR_VER("Failed to check ringct signatures!");
|
||||
return false;
|
||||
|
||||
@@ -896,7 +896,7 @@ namespace cryptonote
|
||||
return false;
|
||||
case rct::RCTTypeSimple:
|
||||
case rct::RCTTypeSimpleBulletproof:
|
||||
if (!rct::verRctSimple(rv, true))
|
||||
if (!rct::verRctSemanticsSimple(rv))
|
||||
{
|
||||
MERROR_VER("rct signature semantics check failed");
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user