Bulletproof aggregated verification and tests

Also constrains bulletproofs to simple rct, for simplicity
This commit is contained in:
moneromooo-monero 2018-03-30 20:29:42 +01:00
parent 126196b017
commit 2a8fcb421b
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3
21 changed files with 844 additions and 174 deletions

View file

@ -84,7 +84,7 @@ public:
{
if (rct)
{
if (m_tx.rct_signatures.type == rct::RCTTypeFull || m_tx.rct_signatures.type == rct::RCTTypeFullBulletproof)
if (m_tx.rct_signatures.type == rct::RCTTypeFull)
return rct::verRct(m_tx.rct_signatures);
else
return rct::verRctSimple(m_tx.rct_signatures);