jl777 8 years ago
parent
commit
92a53af0d1
  1. 4
      iguana/iguana_bundles.c
  2. 2
      iguana/iguana_recv.c

4
iguana/iguana_bundles.c

@ -1067,9 +1067,9 @@ int32_t iguana_bundlefinalize(struct supernet_info *myinfo,struct iguana_info *c
for (i=0; i<coin->bundlescount; i++)
if ( (tmpbp= coin->bundles[i]) != 0 )
tmpbp->converted = tmpbp->balancefinish = tmpbp->validated = 0;
//#ifdef __PNACL__
#ifdef __PNACL__
iguana_bundlevalidate(myinfo,coin,bp,1);
//#endif
#endif
}
else
{

2
iguana/iguana_recv.c

@ -847,7 +847,7 @@ void iguana_gotblockM(struct supernet_info *myinfo,struct iguana_info *coin,stru
copyflag = (coin->enableCACHE != 0) && (strcmp(coin->symbol,"BTC") != 0);
req = iguana_recv_bundlereq(coin,addr,copyflag,H,data,recvlen,bp,bundlei,txdata);
queue_enqueue("recvQ",&coin->recvQ,&req->DL,0);
if ( bp->hdrsi == 0 && strcmp("SYS",coin->symbol) == 0 )
if ( 0 && bp->hdrsi == 0 && strcmp("SYS",coin->symbol) == 0 )
printf("[%d:%d].s%d %s Q.(%s) %s\n",bp->hdrsi,bundlei,numsaved,coin->symbol,bits256_str(str,origtxdata->zblock.RO.hash2),addr->ipaddr);
if ( numsaved < coin->chain->bundlesize )
{

Loading…
Cancel
Save