aboutsummaryrefslogtreecommitdiff
path: root/src/ringct/rctSigs.cpp
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-03-30 20:44:51 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-09-11 13:37:38 +0000
commit7e67c52fa2a4ee68437a5fd906d9848a2f0a7150 (patch)
tree8560ac0d2d41a961ccc5b92583f692cb02694596 /src/ringct/rctSigs.cpp
parentBulletproof aggregated verification and tests (diff)
downloadmonero-7e67c52fa2a4ee68437a5fd906d9848a2f0a7150.tar.xz
Add a define for the max number of bulletproof multi-outputs
Diffstat (limited to 'src/ringct/rctSigs.cpp')
-rw-r--r--src/ringct/rctSigs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ringct/rctSigs.cpp b/src/ringct/rctSigs.cpp
index 2175d1659..d2dc87e27 100644
--- a/src/ringct/rctSigs.cpp
+++ b/src/ringct/rctSigs.cpp
@@ -762,7 +762,7 @@ namespace rct {
{
size_t batch_size = 1;
if (range_proof_type == RangeProofMultiOutputBulletproof)
- while (batch_size * 2 + amounts_proved <= n_amounts && batch_size * 2 <= 16)
+ while (batch_size * 2 + amounts_proved <= n_amounts && batch_size * 2 <= BULLETPROOF_MAX_OUTPUTS)
batch_size *= 2;
rct::keyV C, masks;
std::vector<uint64_t> batch_amounts(batch_size);