Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
970038199b
  1. 2
      iguana/iguana_ramchain.c
  2. 2
      iguana/iguana_recv.c

2
iguana/iguana_ramchain.c

@ -2521,7 +2521,7 @@ if ( bp->bundleheight != 32000 )
printf("bundlesave: stack smashed %d+%d > %d\n",dest->H.scriptoffset,dest->H.stacksize,dest->H.data->scriptspace);
bundlei = -1;
}
//printf("dest scriptoffset.%d stacksize.%d data scriptspace.%d\n",dest->H.scriptoffset,dest->H.stacksize,dest->H.data->scriptspace);
printf("GETCHAR! about to save dest scriptoffset.%d stacksize.%d data scriptspace.%d\n",dest->H.scriptoffset,dest->H.stacksize,dest->H.data->scriptspace), getchar();
depth--;
if ( bundlei == bp->n && iguana_ramchain_expandedsave(coin,RAMCHAIN_DESTARG,&newchain,&HASHMEM,0,bp) == 0 )
{

2
iguana/iguana_recv.c

@ -1081,7 +1081,7 @@ int32_t iguana_reqblocks(struct iguana_info *coin)
iguana_blockQ(coin,bp,bundlei,bp->hashes[bundlei],0);
flag++;
char str[65];
//if ( 0 && (rand() % 10) == 0 )
if ( 1 && (rand() % 1000) == 0 )
printf("%s MAINCHAIN.%d threshold %.3f %.3f lag %.3f\n",bits256_str(str,hash2),coin->blocks.hwmchain.height+1,threshold,coin->backstopmillis,lag);
}
}

Loading…
Cancel
Save