Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
6457cd80a7
  1. 2
      iguana/iguana_realtime.c
  2. 2
      iguana/iguana_unspents.c

2
iguana/iguana_realtime.c

@ -468,7 +468,7 @@ int32_t iguana_realtime_update(struct supernet_info *myinfo,struct iguana_info *
} }
#endif #endif
#define FAST_UTHASH //#define FAST_UTHASH
#ifdef FAST_UTHASH #ifdef FAST_UTHASH
#undef uthash_malloc #undef uthash_malloc
#undef uthash_free #undef uthash_free

2
iguana/iguana_unspents.c

@ -122,7 +122,7 @@ int32_t iguana_unspentindfind(struct supernet_info *myinfo,struct iguana_info *c
{ {
if ( bp->lastprefetch == 0 ) if ( bp->lastprefetch == 0 )
{ {
iguana_ramchain_prefetch(coin,&bp->ramchain,0); iguana_ramchain_prefetch(coin,&bp->ramchain,2);
bp->lastprefetch = (uint32_t)time(NULL); bp->lastprefetch = (uint32_t)time(NULL);
} }
U = RAMCHAIN_PTR(rdata,Uoffset); U = RAMCHAIN_PTR(rdata,Uoffset);

Loading…
Cancel
Save