|
@ -479,7 +479,7 @@ int32_t iguana_blocksmissing(struct iguana_info *coin,int32_t *nonzp,uint8_t mis |
|
|
int32_t iguana_sendhashes(struct iguana_info *coin,struct iguana_peer *addr,int32_t msgtype,bits256 hashes[],int32_t n) |
|
|
int32_t iguana_sendhashes(struct iguana_info *coin,struct iguana_peer *addr,int32_t msgtype,bits256 hashes[],int32_t n) |
|
|
{ |
|
|
{ |
|
|
int32_t len; uint8_t *serialized; |
|
|
int32_t len; uint8_t *serialized; |
|
|
if ( 0 && strcmp("BTC",coin->symbol) != 0 ) |
|
|
if ( 1 )// && strcmp("BTC",coin->symbol) != 0 )
|
|
|
{ |
|
|
{ |
|
|
serialized = malloc((sizeof(int32_t) + sizeof(*hashes))*n + 1024); |
|
|
serialized = malloc((sizeof(int32_t) + sizeof(*hashes))*n + 1024); |
|
|
if ( (len= iguana_getdata(coin,serialized,MSG_BLOCK,hashes,n)) > 0 ) |
|
|
if ( (len= iguana_getdata(coin,serialized,MSG_BLOCK,hashes,n)) > 0 ) |
|
|