Browse Source

test

etomic
jl777 8 years ago
parent
commit
006544673d
  1. 2
      basilisk/basilisk.c
  2. 2
      iguana/iguana_notary.c

2
basilisk/basilisk.c

@ -902,7 +902,7 @@ void basilisks_loop(void *arg)
} }
if ( myinfo->expiration != 0 && (myinfo->dexsock >= 0 || myinfo->IAMLP != 0 || myinfo->DEXactive > time(NULL)) ) if ( myinfo->expiration != 0 && (myinfo->dexsock >= 0 || myinfo->IAMLP != 0 || myinfo->DEXactive > time(NULL)) )
basilisk_requests_poll(myinfo); basilisk_requests_poll(myinfo);
printf("RELAYID.%d endmilli %f vs now %f\n",myinfo->NOTARY.RELAYID,endmilli,OS_milliseconds()); //printf("RELAYID.%d endmilli %f vs now %f\n",myinfo->NOTARY.RELAYID,endmilli,OS_milliseconds());
while ( OS_milliseconds() < endmilli ) while ( OS_milliseconds() < endmilli )
usleep(10000); usleep(10000);
iter++; iter++;

2
iguana/iguana_notary.c

@ -143,7 +143,7 @@ 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) 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; uint32_t blocktime; bits256 blockhash; struct iguana_info *src,*dest;
for (i=0; i<1; i++) for (i=0; i<10; i++)
if ( dpow_nanomsg_update(myinfo) <= 0 ) if ( dpow_nanomsg_update(myinfo) <= 0 )
break; break;
src = iguana_coinfind(dp->symbol); src = iguana_coinfind(dp->symbol);

Loading…
Cancel
Save