jl777 9 years ago
parent
commit
4ae7618f40
  1. 2
      iguana/dpow/dpow_network.c

2
iguana/dpow/dpow_network.c

@ -260,7 +260,7 @@ void dpow_ratify_update(struct supernet_info *myinfo,struct dpow_info *dp,struct
{ {
bp->lastepoch = (uint32_t)(time(NULL) / 100); bp->lastepoch = (uint32_t)(time(NULL) / 100);
printf("epoch %u\n",bp->lastepoch % bp->numnotaries); printf("epoch %u\n",bp->lastepoch % bp->numnotaries);
sleep(3); sleep(2 + (rand() % 7));
} }
} }
bp->notaries[bp->myind].ratifybestk = bp->ratifybestk; bp->notaries[bp->myind].ratifybestk = bp->ratifybestk;

Loading…
Cancel
Save