ci: various linter / CI compiler error fixes

Includes changing TRUE to OP_TRUE for anyone-can-spend output name,
to avoid symbol conflict on win64 builds, which is really obnoxious.
This commit is contained in:
Andrew Poelstra 2020-12-04 15:20:42 +00:00
parent 1e98c9fa9e
commit 68bfd70b43
41 changed files with 132 additions and 116 deletions

View file

@ -39,13 +39,13 @@ void test_one_input(const std::vector<uint8_t>& buffer)
const unsigned int batch_size = fuzzed_data_provider.ConsumeIntegralInRange<unsigned int>(0, 1024);
CCheckQueue<DumbCheck> check_queue_1{batch_size};
CCheckQueue<DumbCheck> check_queue_2{batch_size};
std::vector<DumbCheck> checks_1;
std::vector<DumbCheck> checks_2;
std::vector<DumbCheck*> checks_1;
std::vector<DumbCheck*> checks_2;
const int size = fuzzed_data_provider.ConsumeIntegralInRange<int>(0, 1024);
for (int i = 0; i < size; ++i) {
const bool result = fuzzed_data_provider.ConsumeBool();
checks_1.emplace_back(result);
checks_2.emplace_back(result);
checks_1.emplace_back(new DumbCheck(result));
checks_2.emplace_back(new DumbCheck(result));
}
if (fuzzed_data_provider.ConsumeBool()) {
check_queue_1.Add(checks_1);