Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
9804161d5b
  1. 2
      iguana/iguana_bundles.c
  2. 2
      iguana/iguana_recv.c

2
iguana/iguana_bundles.c

@ -379,7 +379,7 @@ struct iguana_bundle *iguana_bundlecreate(struct iguana_info *coin,int32_t *bund
if ( issueflag != 0 )
{
iguana_blockQ("bundlecreate",coin,bp,0,bundlehash2,1);
queue_enqueue("hdrsQ",&coin->hdrsQ,queueitem(str),1);
//queue_enqueue("hdrsQ",&coin->hdrsQ,queueitem(str),1);
}
if ( bp->hdrsi >= coin->bundlescount )
coin->bundlescount = (bp->hdrsi + 1);

2
iguana/iguana_recv.c

@ -961,7 +961,7 @@ uint32_t iguana_allhashcmp(struct supernet_info *myinfo,struct iguana_info *coin
prev->hh.next = block;
block->hh.prev = prev;
}
if ( bp->startutxo == 0 )
if ( bp->startutxo == 0 && bp->issued[i] == 0 )
{
iguana_blockQ("allhashes",coin,bp,i,blockhashes[i],1);
iguana_blockQ("allhashes",coin,bp,i,blockhashes[i],0);

Loading…
Cancel
Save