throwJSONRPCError(RPC_INVALID_PARAMETER,"confTarget and totalFee options should not both be set. Please provide either a confirmation target for fee estimation or an explicit total fee for the transaction.");
}elseif(options.exists("confTarget")){
inttarget=options["confTarget"].get_int();
if(target<=0){// FIXME: Check upper bound too
throwJSONRPCError(RPC_INVALID_PARAMETER,"Invalid confTarget (cannot be <= 0)");
}
coin_control.m_confirm_target=target;
}elseif(options.exists("confTarget")){// TODO: alias this to conf_target