Merge pull request #5052
b6534c40ringct: remove unused senderPk from ecdhTuple (moneromooo-monero)7d375981ringct: the commitment mask is now deterministic (moneromooo-monero)99d946e6ringct: encode 8 byte amount, saving 24 bytes per output (moneromooo-monero)cdc3ccecringct: save 3 bytes on bulletproof size (moneromooo-monero)f931e16cadd a bulletproof version, new bulletproof type, and rct config (moneromooo-monero)
This commit is contained in:
@@ -816,6 +816,7 @@ namespace cryptonote
|
||||
}
|
||||
break;
|
||||
case rct::RCTTypeBulletproof:
|
||||
case rct::RCTTypeBulletproof2:
|
||||
if (!is_canonical_bulletproof_layout(rv.p.bulletproofs))
|
||||
{
|
||||
MERROR_VER("Bulletproof does not have canonical form");
|
||||
@@ -843,7 +844,7 @@ namespace cryptonote
|
||||
{
|
||||
if (!tx_info[n].result)
|
||||
continue;
|
||||
if (tx_info[n].tx->rct_signatures.type != rct::RCTTypeBulletproof)
|
||||
if (tx_info[n].tx->rct_signatures.type != rct::RCTTypeBulletproof && tx_info[n].tx->rct_signatures.type != rct::RCTTypeBulletproof2)
|
||||
continue;
|
||||
if (assumed_bad || !rct::verRctSemanticsSimple(tx_info[n].tx->rct_signatures))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user