Browse Source

test

etomic
jl777 8 years ago
parent
commit
c8d5439546
  1. 7
      iguana/iguana_notary.c

7
iguana/iguana_notary.c

@ -142,10 +142,13 @@ void dpow_destupdate(struct supernet_info *myinfo,struct dpow_info *dp,int32_t h
void iguana_dPoWupdate(struct supernet_info *myinfo,struct dpow_info *dp)
{
int32_t i,height; uint32_t blocktime; bits256 blockhash; struct iguana_info *src,*dest;
int32_t i,height,num; uint32_t blocktime; bits256 blockhash; struct iguana_info *src,*dest;
for (i=0; i<100; i++)
if ( dpow_nanomsg_update(myinfo) <= 0 )
{
if ( (num= dpow_nanomsg_update(myinfo)) <= 0 )
break;
fprintf(stderr,"%d ",num);
}
src = iguana_coinfind(dp->symbol);
dest = iguana_coinfind(dp->dest);
fprintf(stderr,"i.%d dp.%p dPoWupdate (%s -> %s)\n",i,dp,dp!=0?dp->symbol:"",dp!=0?dp->dest:"");

Loading…
Cancel
Save