1
0
Fork 0
forked from lthn/blockchain

ml2s tests excluded from *; some warnings fixed

This commit is contained in:
sowle 2023-04-09 18:22:20 +02:00
parent 8370e6b9f0
commit b94e2f536d
No known key found for this signature in database
GPG key ID: C07A24B2D89D49FC
2 changed files with 6 additions and 3 deletions

View file

@ -363,10 +363,12 @@ namespace currency
}
res.status = API_RETURN_CODE_OK;
/*
std::stringstream ss;
typedef COMMAND_RPC_GET_RANDOM_OUTPUTS_FOR_AMOUNTS::outs_for_amount outs_for_amount;
typedef COMMAND_RPC_GET_RANDOM_OUTPUTS_FOR_AMOUNTS::out_entry out_entry;
/*std::for_each(res.outs.begin(), res.outs.end(), [&](outs_for_amount& ofa)
std::for_each(res.outs.begin(), res.outs.end(), [&](outs_for_amount& ofa)
{
ss << "[" << ofa.amount << "]:";
CHECK_AND_ASSERT_MES(ofa.outs.size(), ;, "internal error: ofa.outs.size() is empty for amount " << ofa.amount);
@ -379,7 +381,7 @@ namespace currency
std::string s = ss.str();
LOG_PRINT_L2("COMMAND_RPC_GET_RANDOM_OUTPUTS_FOR_AMOUNTS: " << ENDL << s);
*/
res.status = API_RETURN_CODE_OK;
return true;
}
//------------------------------------------------------------------------------------------------------------------------------

View file

@ -5,6 +5,7 @@
#define USE_INSECURE_RANDOM_RPNG_ROUTINES // turns on random manupulation for tests
#include <utility>
#include <boost/multiprecision/cpp_int.hpp>
#include "crypto/crypto.h"
#include "epee/include/misc_log_ex.h"
#include "epee/include/profile_tools.h"
@ -491,7 +492,7 @@ struct test_keeper_t
////////////////////////////////////////////////////////////////////////////////
#include "crypto_tests_ml2s.h"
// #include "crypto_tests_ml2s.h"
#include "crypto_tests_range_proofs.h"
#include "crypto_tests_clsag.h"
#include "crypto_tests_one_out_of_many_proofs.h"