Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
96f89a9af9
  1. 2
      iguana/iguana_blocks.c
  2. 1
      iguana/iguana_bundles.c
  3. 2
      iguana/main.c

2
iguana/iguana_blocks.c

@ -298,7 +298,7 @@ struct iguana_block *_iguana_chainlink(struct iguana_info *coin,struct iguana_bl
//getchar();
return(0);
}
char str[65]; printf("extend? %s.h%d: %.15f vs %.15f ht.%d vs %d\n",bits256_str(str,block->RO.hash2),height,block->PoW,coin->blocks.hwmchain.PoW,height,coin->blocks.hwmchain.height);
//char str[65]; printf("extend? %s.h%d: %.15f vs %.15f ht.%d vs %d\n",bits256_str(str,block->RO.hash2),height,block->PoW,coin->blocks.hwmchain.PoW,height,coin->blocks.hwmchain.height);
if ( iguana_blockvalidate(coin,&valid,newblock) < 0 || valid == 0 )
return(0);
block->height = height;

1
iguana/iguana_bundles.c

@ -610,6 +610,7 @@ void iguana_bundleiters(struct iguana_info *coin,struct iguana_bundle *bp,int32_
{
if ( bp->numsaved >= bp->n )
{
usleep(100000);
printf(">>>>>>>>>>>>>>>>>>>>>>> EMIT bundle.%d\n",bp->bundleheight);
bp->emitfinish = 1;
iguana_emitQ(coin,bp);

2
iguana/main.c

@ -37,7 +37,7 @@ static int32_t initflag;
#ifdef __linux__
int32_t IGUANA_NUMHELPERS = 8;
#else
int32_t IGUANA_NUMHELPERS = 1;
int32_t IGUANA_NUMHELPERS = 4;
#endif
char *hash_parser(struct supernet_info *myinfo,char *hashname,cJSON *json,char *remoteaddr)

Loading…
Cancel
Save