aboutsummaryrefslogtreecommitdiff
path: root/tests/core_tests/bulletproofs.h
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-07-29 14:04:42 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-09-11 13:38:22 +0000
commit1224e53b744f8338163998d06b139a3f7a006b08 (patch)
treec66020c99a64856a21dcc7f924e0bc86ebc3e9bd /tests/core_tests/bulletproofs.h
parentfuzz_tests: add a bulletproof fuzz test (diff)
downloadmonero-1224e53b744f8338163998d06b139a3f7a006b08.tar.xz
core_tests: add a test for 4-aggregated BP verification
Diffstat (limited to 'tests/core_tests/bulletproofs.h')
-rw-r--r--tests/core_tests/bulletproofs.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/core_tests/bulletproofs.h b/tests/core_tests/bulletproofs.h
index c3a7db2c7..e29b34690 100644
--- a/tests/core_tests/bulletproofs.h
+++ b/tests/core_tests/bulletproofs.h
@@ -156,6 +156,12 @@ struct gen_bp_txs_invalid_2_and_8_2_and_16_16_1 : public gen_bp_tx_validation_ba
};
template<> struct get_test_options<gen_bp_txs_invalid_2_and_8_2_and_16_16_1>: public get_test_options<gen_bp_tx_validation_base> {};
+struct gen_bp_txs_valid_2_and_3_and_2_and_4 : public gen_bp_tx_validation_base
+{
+ bool generate(std::vector<test_event_entry>& events) const;
+};
+template<> struct get_test_options<gen_bp_txs_valid_2_and_3_and_2_and_4>: public get_test_options<gen_bp_tx_validation_base> {};
+
struct gen_bp_tx_invalid_not_enough_proofs : public gen_bp_tx_validation_base
{
bool generate(std::vector<test_event_entry>& events) const;