jl777 8 years ago
parent
commit
7e7bb481a8
  1. 2
      iguana/iguana_ramchain.c
  2. 1
      iguana/iguana_recv.c

2
iguana/iguana_ramchain.c

@ -2332,7 +2332,7 @@ struct iguana_ramchain *iguana_bundleload(struct supernet_info *myinfo,struct ig
//_iguana_chainlink(coin,block); //wrong context //_iguana_chainlink(coin,block); //wrong context
} }
prev2 = prev, prev = block; prev2 = prev, prev = block;
printf("%d ",block->RO.txn_count); printf("%p.%d ",block,block->RO.txn_count);
firsttxidind += block->RO.txn_count; firsttxidind += block->RO.txn_count;
} }
} }

1
iguana/iguana_recv.c

@ -819,6 +819,7 @@ void iguana_gotblockM(struct supernet_info *myinfo,struct iguana_info *coin,stru
if ( block->height < 0 ) if ( block->height < 0 )
block->bundlei = -1; block->bundlei = -1;
block->txvalid = 1; block->txvalid = 1;
block->RO.txn_count = origtxdata->zblock.RO.txn_count;
if ( block->fpipbits != 0 && block->fpos >= 0 ) if ( block->fpipbits != 0 && block->fpos >= 0 )
{ {
static int32_t numredundant; static double redundantsize; static uint32_t lastdisp; static int32_t numredundant; static double redundantsize; static uint32_t lastdisp;

Loading…
Cancel
Save