Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
8bcb887db9
  1. 1
      iguana/iguana_bundles.c
  2. 2
      iguana/iguana_rpc.c

1
iguana/iguana_bundles.c

@ -1049,6 +1049,7 @@ double iguana_bundlemissings(struct iguana_info *coin,struct iguana_bundle *bp,d
}*/
if ( (n= iguana_bundlerequests(coin,missings,&bp->origmissings,&tmp,mult,bp,priority)) > 0 )
{
printf("bundle.[%d] n.%d issued.%d\n",bp->hdrsi,n,bp->numissued);
bp->numissued += n;
bp->missingstime = (uint32_t)time(NULL);
}

2
iguana/iguana_rpc.c

@ -655,7 +655,7 @@ char *iguana_bitcoinRPC(struct supernet_info *myinfo,char *method,cJSON *json,ch
printf("n.%d (%s)\n",n,jstr(array,0));
for (i=n-1; i>=0; i--)
{
params[i] = jduplicate(jitem(array,i));//;
params[i] = cJSON_DetachItemFromArray(array,i);//;
printf("add params[%d] of %d <- (%s) %p.(%p %p)\n",i,n,jprint(params[i],0),params[i],params[i]->next,params[i]->prev);
}
}

Loading…
Cancel
Save