Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
2fa59e6870
  1. 2
      iguana/iguana_ramchain.c
  2. 1
      iguana/iguana_recv.c
  3. 2
      iguana/main.c

2
iguana/iguana_ramchain.c

@ -2306,7 +2306,7 @@ int64_t iguana_ramchainopen(char *fname,struct iguana_info *coin,struct iguana_r
//B = 0, Ux = 0, Sx = 0, P = 0, A = 0, X = 0, Kspace = TXbits = PKbits = 0, U = 0, S = 0, T = 0;
mem->alignflag = sizeof(uint32_t);
hashmem->alignflag = sizeof(uint32_t);
scriptspace = numexternaltxids = numtxids = coin->chain->bundlesize * 2;
scriptspace = numexternaltxids = numtxids = coin->chain->bundlesize * 1.5;
numunspents = numspends = numpkinds = numtxids * 2;
for (i=0; i<coin->bundlescount; i++)
if ( (bp= coin->bundles[i]) != 0 && (rdata= bp->ramchain.H.data) != 0 )

1
iguana/iguana_recv.c

@ -1576,7 +1576,6 @@ int32_t iguana_processrecv(struct iguana_info *coin) // single threaded
//printf("call iguana_realtime_update i.%d\n",i);
}
}
flag += (i > 0);
coin->RTramchain_busy = (coin->RTgenesis == 0);
iguana_jsonQ();
if ( hwmheight != coin->blocks.hwmchain.height )

2
iguana/main.c

@ -73,7 +73,7 @@ char GLOBAL_DBDIR[512] = "/DB";
char GLOBAL_HELPDIR[512] = "/DB/help";
char GLOBAL_VALIDATEDIR[512] = "/DB/purgeable";
char GLOBAL_CONFSDIR[512] = "/DB/confs";
int32_t IGUANA_NUMHELPERS = 4;
int32_t IGUANA_NUMHELPERS = 1;
#else
char GLOBAL_TMPDIR[512] = "tmp";
char GLOBAL_HELPDIR[512] = "help";

Loading…
Cancel
Save