|
@ -236,7 +236,7 @@ double basilisk_request_listprocess(struct supernet_info *myinfo,struct basilisk |
|
|
|
|
|
|
|
|
double basilisk_process_results(struct supernet_info *myinfo,struct basilisk_request *issueR,cJSON *retjson,double hwm) |
|
|
double basilisk_process_results(struct supernet_info *myinfo,struct basilisk_request *issueR,cJSON *retjson,double hwm) |
|
|
{ |
|
|
{ |
|
|
cJSON *array,*item; uint8_t *hexdata,*allocptr,hexspace[8192]; char *hexstr; int32_t i,hexlen,n,m,nonz; struct basilisk_request tmpR,R,refR,list[BASILISK_MAXRELAYS]; double metric=0.; |
|
|
cJSON *array,*item; uint8_t *hexdata,*allocptr,hexspace[32768]; char *hexstr; int32_t i,hexlen,n,m,nonz; struct basilisk_request tmpR,R,refR,list[BASILISK_MAXRELAYS]; double metric=0.; |
|
|
memset(&refR,0,sizeof(refR)); |
|
|
memset(&refR,0,sizeof(refR)); |
|
|
//printf("process.(%s)\n",jprint(retjson,0));
|
|
|
//printf("process.(%s)\n",jprint(retjson,0));
|
|
|
if ( (array= jarray(&n,retjson,"messages")) != 0 ) |
|
|
if ( (array= jarray(&n,retjson,"messages")) != 0 ) |
|
|