jl777 8 years ago
parent
commit
da661e6ce3
  1. 2
      basilisk/basilisk.c
  2. 4
      iguana/iguana_notary.c

2
basilisk/basilisk.c

@ -929,7 +929,7 @@ void basilisks_loop(void *arg)
dp = &myinfo->DPOWS[counter % myinfo->numdpows];
iguana_dPoWupdate(myinfo,dp);
}
endmilli = startmilli + 500;
endmilli = startmilli + 200;
}
else if ( myinfo->IAMLP != 0 )
endmilli = startmilli + 1000;

4
iguana/iguana_notary.c

@ -124,13 +124,15 @@ void dpow_destconfirm(struct supernet_info *myinfo,struct dpow_info *dp,struct d
void dpow_destupdate(struct supernet_info *myinfo,struct dpow_info *dp,int32_t height,bits256 hash,uint32_t timestamp,uint32_t blocktime)
{
printf("%s destupdate ht.%d\n",dp->dest,height);
dp->destupdated = timestamp;
dpow_checkpointset(myinfo,&dp->destchaintip,height,hash,timestamp,blocktime);
dpow_approvedset(myinfo,dp,&dp->destchaintip,dp->desttx,dp->numdesttx);
dpow_fifoupdate(myinfo,dp->destfifo,dp->destchaintip);
if ( strcmp(dp->dest,"BTC") == 0 )
{
printf("%s destupdate ht.%d\n",dp->dest,height);
dpow_destconfirm(myinfo,dp,&dp->destfifo[DPOW_BTCCONFIRMS]);
}
else dpow_destconfirm(myinfo,dp,&dp->destfifo[DPOW_KOMODOCONFIRMS*2]); // todo: change to notarized KMD depth
}

Loading…
Cancel
Save