From a62de7f72b4e57b1903938c679af58ed4e86222e Mon Sep 17 00:00:00 2001 From: jl777 Date: Thu, 25 Jul 2019 04:56:21 -1100 Subject: [PATCH] -print --- src/komodo_nSPV.h | 2 +- src/komodo_nSPV_fullnode.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/komodo_nSPV.h b/src/komodo_nSPV.h index 8c65dc772..4695133c7 100644 --- a/src/komodo_nSPV.h +++ b/src/komodo_nSPV.h @@ -287,7 +287,7 @@ int32_t NSPV_rwinforesp(int32_t rwflag,uint8_t *serialized,struct NSPV_inforesp len += iguana_rwnum(rwflag,&serialized[len],sizeof(ptr->hdrheight),&ptr->hdrheight); len += NSPV_rwequihdr(rwflag,&serialized[len],&ptr->H); len += iguana_rwnum(rwflag,&serialized[len],sizeof(ptr->version),&ptr->version); -fprintf(stderr,"getinfo rwlen.%d\n",len); +//fprintf(stderr,"getinfo rwlen.%d\n",len); return(len); } diff --git a/src/komodo_nSPV_fullnode.h b/src/komodo_nSPV_fullnode.h index d5e741ebf..ff3156f37 100644 --- a/src/komodo_nSPV_fullnode.h +++ b/src/komodo_nSPV_fullnode.h @@ -538,10 +538,10 @@ void komodo_nSPVreq(CNode *pfrom,std::vector request) // received a req { response.resize(1 + slen); response[0] = NSPV_INFORESP; - fprintf(stderr,"slen.%d version.%d\n",slen,I.version); + //fprintf(stderr,"slen.%d version.%d\n",slen,I.version); if ( NSPV_rwinforesp(1,&response[1],&I) == slen ) { - fprintf(stderr,"send info resp to id %d\n",(int32_t)pfrom->id); + //fprintf(stderr,"send info resp to id %d\n",(int32_t)pfrom->id); pfrom->PushMessage("nSPV",response); pfrom->prevtimes[ind] = timestamp; }