THROW_WALLET_EXCEPTION_IF(outputs_to_consider==0,error::wallet_internal_error,"No rct outputs to consider");
average_output_time=DIFFICULTY_TARGET_V2*blocks_to_consider/static_cast<double>(outputs_to_consider);// this assumes constant target over the whole rct range
average_output_time=DIFFICULTY_TARGET_V2*blocks_to_consider/outputs_to_consider;// this assumes constant target over the whole rct range
if(average_output_time==0){
// TODO: apply this to all cases; do so alongside a hard fork, where all clients will update at the same time, preventing anonymity puddle formation