mirror of
https://github.com/monero-project/monero.git
synced 2024-12-13 20:06:32 +02:00
Merge pull request #6061
f1091c41
core_tests: remove some useless verbose logs (moneromooo-monero)
This commit is contained in:
commit
ff8a60b61c
@ -64,7 +64,6 @@ bool gen_bp_tx_validation_base::generate_with(std::vector<test_event_entry>& eve
|
|||||||
false, "Failed to generate block");
|
false, "Failed to generate block");
|
||||||
events.push_back(blocks[n]);
|
events.push_back(blocks[n]);
|
||||||
prev_block = blocks + n;
|
prev_block = blocks + n;
|
||||||
LOG_PRINT_L0("Initial miner tx " << n << ": " << obj_to_json_str(blocks[n].miner_tx));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// rewind
|
// rewind
|
||||||
|
@ -180,8 +180,6 @@ bool gen_multisig_tx_validation_base::generate_with(std::vector<test_event_entry
|
|||||||
false, "Failed to generate block");
|
false, "Failed to generate block");
|
||||||
events.push_back(blocks[n]);
|
events.push_back(blocks[n]);
|
||||||
prev_block = blocks + n;
|
prev_block = blocks + n;
|
||||||
LOG_PRINT_L0("Initial miner tx " << n << ": " << obj_to_json_str(blocks[n].miner_tx));
|
|
||||||
LOG_PRINT_L0("in block: " << obj_to_json_str(blocks[n]));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// rewind
|
// rewind
|
||||||
|
@ -63,7 +63,6 @@ bool gen_rct_tx_validation_base::generate_with_full(std::vector<test_event_entry
|
|||||||
false, "Failed to generate block");
|
false, "Failed to generate block");
|
||||||
events.push_back(blocks[n]);
|
events.push_back(blocks[n]);
|
||||||
prev_block = blocks + n;
|
prev_block = blocks + n;
|
||||||
LOG_PRINT_L0("Initial miner tx " << n << ": " << obj_to_json_str(blocks[n].miner_tx));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// rewind
|
// rewind
|
||||||
|
@ -85,7 +85,6 @@ bool gen_v2_tx_validation_base::generate_with(std::vector<test_event_entry>& eve
|
|||||||
tx_source_entry& src = sources.back();
|
tx_source_entry& src = sources.back();
|
||||||
|
|
||||||
src.amount = blocks[0].miner_tx.vout[out_idx[out_idx_idx]].amount;
|
src.amount = blocks[0].miner_tx.vout[out_idx[out_idx_idx]].amount;
|
||||||
std::cout << "using " << print_money(src.amount) << " output at index " << out_idx[out_idx_idx] << std::endl;
|
|
||||||
for (int m = 0; m <= mixin; ++m) {
|
for (int m = 0; m <= mixin; ++m) {
|
||||||
int idx;
|
int idx;
|
||||||
if (is_valid_decomposed_amount(src.amount))
|
if (is_valid_decomposed_amount(src.amount))
|
||||||
|
Loading…
Reference in New Issue
Block a user