Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
dec70056c4
  1. 2
      iguana/iguana_realtime.c

2
iguana/iguana_realtime.c

@ -507,6 +507,8 @@ void iguana_RTunmap(uint8_t *ptr,uint32_t len)
void *iguana_RTrawdata(struct iguana_info *coin,bits256 hash2,uint8_t *data,int32_t *recvlenp,int32_t *numtxp)
{
FILE *fp; char fname[1024],str[65]; long filesize; uint8_t *ptr; uint32_t i,nonz,checknumtx,checklen;
if ( coin->RTheight == 0 )
return(0);
sprintf(fname,"%s/%s/RT/%s.raw",GLOBAL_TMPDIR,coin->symbol,bits256_str(str,hash2));
OS_compatible_path(fname);
if ( *recvlenp > 0 )

Loading…
Cancel
Save