jl777 8 years ago
parent
commit
b2b937c30d
  1. 10
      iguana/iguana_recv.c

10
iguana/iguana_recv.c

@ -843,11 +843,11 @@ void iguana_gotblockM(struct supernet_info *myinfo,struct iguana_info *coin,stru
}
}
txdata = origtxdata;
if ( 0 && iguana_ramchain_data(myinfo,coin,addr,origtxdata,txarray,origtxdata->zblock.RO.txn_count,data,recvlen,bp,block,zcash) >= 0 )
if ( iguana_ramchain_data(myinfo,coin,addr,origtxdata,txarray,origtxdata->zblock.RO.txn_count,data,recvlen,bp,block,zcash) >= 0 )
{
txdata->zblock.fpipbits = (uint32_t)addr->ipbits;
txdata->zblock.RO.recvlen = recvlen;
txdata->zblock.fpos = 0;
//txdata->zblock.fpipbits = (uint32_t)addr->ipbits;
//txdata->zblock.RO.recvlen = recvlen;
//txdata->zblock.fpos = 0;
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);
@ -878,7 +878,7 @@ void iguana_gotblockM(struct supernet_info *myinfo,struct iguana_info *coin,stru
}
else if ( bp->queued == 0 && bp->startutxo == 0 )
{
iguana_bundleQ(myinfo,coin,bp,0);
//iguana_bundleQ(myinfo,coin,bp,0);
//printf("numsaved.%d [%d] %s\n",numsaved,bp->hdrsi,addr->ipaddr);
}
}

Loading…
Cancel
Save