|
|
@ -800,7 +800,6 @@ int32_t iguana_msgparser(struct iguana_info *coin,struct iguana_peer *addr,struc |
|
|
|
tmp = iguana_rwblock80(0,&data[len],&msg); |
|
|
|
hash2 = iguana_calcblockhash(coin->symbol,coin->chain->hashalgo,&data[len],tmp); |
|
|
|
len += tmp; |
|
|
|
len += iguana_rwvarint32(0,&data[len],&tmp); |
|
|
|
if ( (msg.H.version & 0x100) != 0 ) |
|
|
|
{ |
|
|
|
iguana_memreset(rawmem); |
|
|
@ -811,6 +810,7 @@ int32_t iguana_msgparser(struct iguana_info *coin,struct iguana_peer *addr,struc |
|
|
|
len += iguana_rwmerklebranch(0,&data[len],&blockchain_branch); |
|
|
|
len += iguana_rwblock80(0,&data[len],&parentblock); |
|
|
|
} |
|
|
|
len += iguana_rwvarint32(0,&data[len],&tmp); |
|
|
|
char str[65],str2[65]; |
|
|
|
if ( coin->chain->auxpow != 0 ) |
|
|
|
printf("%d %d of %d: %s %s v.%08x numtx.%d cmp.%d\n",len,i,n,bits256_str(str,hash2),bits256_str(str2,msg.H.prev_block),msg.H.version,tmp,bits256_cmp(prevhash2,msg.H.prev_block)); |
|
|
|