Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
82b4918bca
  1. 2
      iguana/iguana777.h
  2. 2
      iguana/iguana_blocks.c

2
iguana/iguana777.h

@ -26,7 +26,7 @@ typedef int32_t (*blockhashfunc)(uint8_t *blockhashp,uint8_t *serialized,int32_t
#define IGUANA_SERIALIZE_SPENDVECTORGEN #define IGUANA_SERIALIZE_SPENDVECTORGEN
//#define IGUANA_DISABLEPEERS //#define IGUANA_DISABLEPEERS
#define _IGUANA_MAXSTUCKTIME 10 #define _IGUANA_MAXSTUCKTIME 10
#define IGUANA_MAXITERATIONS 100 #define IGUANA_MAXITERATIONS 1000
#define IGUANA_DEFAULTLAG 20 #define IGUANA_DEFAULTLAG 20
#define IGUANA_MAXCOINS 64 #define IGUANA_MAXCOINS 64

2
iguana/iguana_blocks.c

@ -320,7 +320,7 @@ int32_t iguana_walkchain(struct iguana_info *coin)
} }
if ( (height % coin->chain->bundlesize) == 0 ) if ( (height % coin->chain->bundlesize) == 0 )
{ {
if ( bp->ramchain.H.data == 0 ) if ( 0 && bp->ramchain.H.data == 0 )
printf("NULL RAMCHAIN.[%d]\n",bp->hdrsi); printf("NULL RAMCHAIN.[%d]\n",bp->hdrsi);
n += coin->chain->bundlesize; n += coin->chain->bundlesize;
height -= coin->chain->bundlesize; height -= coin->chain->bundlesize;

Loading…
Cancel
Save