[monero-project/monero] Bp multi aggregation pippenger (#4219)

moneromooo-monero commented on this pull request.

> @@ -491,7 +491,7 @@ namespace cryptonote

// the non-simple version is slightly smaller, but assumes all real inputs
// are on the same index, so can only be used if there just one ring.
— bool use_simple_rct = sources.size() > 1 || range_proof_type == rct::RangeProofMultiOutputBulletproof || range_proof_type == rct::RangeProofBulletproof;
+ bool use_simple_rct = sources.size() > 1 || range_proof_type == rct::RangeProofMultiOutputBulletproof || range_proof_type == rct::RangeProofBulletproof || range_proof_type == rct::RangeProofPaddedBulletproof;

Whether it works depends on whether the newly added type wants simple or not. Granted, it is likely to so I’ll change it.