Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
2d51509832
  1. 2
      iguana/iguana777.h
  2. 3
      iguana/iguana_ramchain.c

2
iguana/iguana777.h

@ -38,7 +38,7 @@ typedef int32_t (*blockhashfunc)(uint8_t *blockhashp,uint8_t *serialized,int32_t
#define IGUANA_TAILPERCENTAGE 1.0
#define IGUANA_MAXPENDHDRS 1
#define _IGUANA_MAXPENDING 16
#define IGUANA_MINPENDBUNDLES 64
#define IGUANA_MINPENDBUNDLES 128
#define IGUANA_MAXPENDBUNDLES 128
#define IGUANA_BUNDLELOOP 10000
#define IGUANA_RPCPORT 7778

3
iguana/iguana_ramchain.c

@ -2224,7 +2224,8 @@ int32_t iguana_bundlesaveHT(struct iguana_info *coin,struct OS_memspace *mem,str
break;
}
//printf("%x ",(uint32_t)block->RO.hash2.ulongs[3]);
bp->blocks[bundlei]->RO.txn_count = mapchain->H.data->numtxids - 1;
if ( bp->blocks[bundlei]->RO.txn_count == 0 )
bp->blocks[bundlei]->RO.txn_count = mapchain->H.data->numtxids - 1;
//printf("(%d %d).%d ",mapchain->H.data->numtxids,bp->blocks[bundlei]->RO.txn_count,numtxids);
//printf("%d ",numtxids);
}

Loading…
Cancel
Save