|
|
@ -477,7 +477,7 @@ double basilisk_process_results(struct supernet_info *myinfo,struct basilisk_req |
|
|
|
{ |
|
|
|
memset(&R,0,sizeof(R)); |
|
|
|
basilisk_rwDEXquote(0,hexdata,&R); |
|
|
|
//printf("[%d].(%s)\n",i,jprint(basilisk_requestjson(&R),1));
|
|
|
|
printf("[%d].(%s)\n",i,jprint(basilisk_requestjson(&R),1)); |
|
|
|
} |
|
|
|
} else basilisk_parsejson(&R,item); |
|
|
|
if ( nonz != 0 ) |
|
|
@ -491,6 +491,7 @@ double basilisk_process_results(struct supernet_info *myinfo,struct basilisk_req |
|
|
|
*issueR = tmpR; |
|
|
|
hwm = metric; |
|
|
|
refR = tmpR; |
|
|
|
printf("SET HWM\n"); |
|
|
|
} |
|
|
|
m = 0; |
|
|
|
} |
|
|
@ -506,7 +507,10 @@ double basilisk_process_results(struct supernet_info *myinfo,struct basilisk_req |
|
|
|
//printf("process_results n.%d m.%d nonz.%d\n",n,m,nonz);
|
|
|
|
if ( m > 0 && m < sizeof(list)/sizeof(*list) ) |
|
|
|
if ( (metric= basilisk_request_listprocess(myinfo,&tmpR,list,m)) > hwm ) |
|
|
|
{ |
|
|
|
*issueR = tmpR, hwm = metric; |
|
|
|
printf("set hwm\n"); |
|
|
|
} |
|
|
|
} |
|
|
|
return(hwm); |
|
|
|
} |
|
|
|