Browse Source

test

release/v0.1
jl777 8 years ago
parent
commit
abc7b2e784
  1. 2
      .gitignore
  2. 2
      iguana/iguana_volatiles.c
  3. 2
      includes/iguana_globals.h

2
.gitignore

@ -35,3 +35,5 @@ agents/win32/DB/.tmpmarker
agents/win32/DB/purgeable/.tmpmarker
agents/*
iguana/confs/BTC_hdrs.txt

2
iguana/iguana_volatiles.c

@ -461,7 +461,7 @@ int32_t iguana_volatilesmap(struct iguana_info *coin,struct iguana_ramchain *ram
numhdrsi = *(int32_t *)ramchain->debitsfileptr;
memcpy(balancehash.bytes,(void *)((long)ramchain->debitsfileptr + sizeof(numhdrsi)),sizeof(balancehash));
memcpy(allbundles.bytes,(void *)((long)ramchain->debitsfileptr + sizeof(numhdrsi) + sizeof(balancehash)),sizeof(allbundles));
if ( coin->balanceswritten == 0 )
if ( 1 || coin->balanceswritten == 0 ) // jl777 fixme
{
coin->balanceswritten = numhdrsi;
coin->balancehash = balancehash;

2
includes/iguana_globals.h

@ -42,7 +42,7 @@ char GLOBAL_GENESISDIR[512] = "genesis";
char GLOBAL_VALIDATEDIR[512] = "DB/purgeable";
char GLOBAL_CONFSDIR[512] = "confs";
#ifdef __linux
int32_t IGUANA_NUMHELPERS = 4;
int32_t IGUANA_NUMHELPERS = 8;
#else
int32_t IGUANA_NUMHELPERS = 1;
#endif

Loading…
Cancel
Save