diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-03-30 20:44:51 +0100 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-09-11 13:37:38 +0000 |
commit | 7e67c52fa2a4ee68437a5fd906d9848a2f0a7150 (patch) | |
tree | 8560ac0d2d41a961ccc5b92583f692cb02694596 /src/ringct/rctSigs.cpp | |
parent | Bulletproof aggregated verification and tests (diff) | |
download | monero-7e67c52fa2a4ee68437a5fd906d9848a2f0a7150.tar.xz |
Add a define for the max number of bulletproof multi-outputs
Diffstat (limited to '')
-rw-r--r-- | src/ringct/rctSigs.cpp | 2 |
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); |