aboutsummaryrefslogtreecommitdiff
path: root/tests/core_tests/chaingen_main.cpp
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-03-30 20:29:42 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-09-11 13:37:37 +0000
commit2a8fcb421bc41eb254f95379dd73238915dd509d (patch)
tree5c8d4b888a12459c60b94d6d6e8ff9cae5f7a421 /tests/core_tests/chaingen_main.cpp
parentmultiexp: some speedups (diff)
downloadmonero-2a8fcb421bc41eb254f95379dd73238915dd509d.tar.xz
Bulletproof aggregated verification and tests
Also constrains bulletproofs to simple rct, for simplicity
Diffstat (limited to 'tests/core_tests/chaingen_main.cpp')
-rw-r--r--tests/core_tests/chaingen_main.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/core_tests/chaingen_main.cpp b/tests/core_tests/chaingen_main.cpp
index c31655070..f662c68df 100644
--- a/tests/core_tests/chaingen_main.cpp
+++ b/tests/core_tests/chaingen_main.cpp
@@ -224,6 +224,18 @@ int main(int argc, char* argv[])
GENERATE_AND_PLAY(gen_multisig_tx_invalid_33_1_2_no_threshold);
GENERATE_AND_PLAY(gen_multisig_tx_invalid_33_1_3_no_threshold);
+ GENERATE_AND_PLAY(gen_bp_tx_valid_1);
+ GENERATE_AND_PLAY(gen_bp_tx_valid_1_1);
+ GENERATE_AND_PLAY(gen_bp_tx_valid_2);
+ GENERATE_AND_PLAY(gen_bp_tx_valid_4_2_1);
+ GENERATE_AND_PLAY(gen_bp_tx_valid_16_16);
+ GENERATE_AND_PLAY(gen_bp_txs_valid_2_and_2);
+ GENERATE_AND_PLAY(gen_bp_txs_valid_1_1_and_8_2_and_16_16_1);
+ GENERATE_AND_PLAY(gen_bp_tx_invalid_not_enough_proofs);
+ GENERATE_AND_PLAY(gen_bp_tx_invalid_too_many_proofs);
+ GENERATE_AND_PLAY(gen_bp_tx_invalid_wrong_amount);
+ GENERATE_AND_PLAY(gen_bp_tx_invalid_switched);
+
el::Level level = (failed_tests.empty() ? el::Level::Info : el::Level::Error);
MLOG(level, "\nREPORT:");
MLOG(level, " Test run: " << tests_count);