Browse Source

test

release/v0.1
jl777 8 years ago
parent
commit
94fa1bde05
  1. 2
      .gitignore
  2. 4294
      iguana/confs/BTC_hdrs.txt
  3. 2
      iguana/iguana_recv.c

2
.gitignore

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

4294
iguana/confs/BTC_hdrs.txt

File diff suppressed because it is too large

2
iguana/iguana_recv.c

@ -1949,7 +1949,7 @@ int32_t iguana_reqhdrs(struct iguana_info *coin)
{
init_hexbytes_noT(hashstr,bp->hashes[0].bytes,sizeof(bits256));
queue_enqueue("hdrsQ",&coin->hdrsQ,queueitem(hashstr),1);
printf("%s issue HWM HDRS [%d] %s\n",coin->symbol,bp->hdrsi,hashstr);
//printf("%s issue HWM HDRS [%d] %s\n",coin->symbol,bp->hdrsi,hashstr);
bits256 hash2 = iguana_blockhash(coin,coin->blocks.hwmchain.height-10);
init_hexbytes_noT(hashstr,hash2.bytes,sizeof(bits256));
//printf("%s issue HWM HDRS %d-10 %s\n",coin->symbol,coin->blocks.hwmchain.height,hashstr);

Loading…
Cancel
Save