diff --git a/src/komodo_bitcoind.h b/src/komodo_bitcoind.h index 4524af806..2547d7388 100644 --- a/src/komodo_bitcoind.h +++ b/src/komodo_bitcoind.h @@ -885,9 +885,8 @@ int32_t komodo_minerids(uint8_t *minerids,int32_t height,int32_t width) // depre int32_t komodo_is_special(uint8_t pubkeys[66][33],int32_t mids[66],int32_t height,uint8_t pubkey33[33],uint32_t timestamp) { int32_t i,j,notaryid=0,minerid,limit,nid; uint8_t destpubkey33[33]; - //if ( height >= 225000 ) komodo_chosennotary(¬aryid,height,pubkey33,timestamp); - if ( height >= 700000 ) + if ( height >= 82000 ) { if ( notaryid >= 0 ) { @@ -896,7 +895,7 @@ int32_t komodo_is_special(uint8_t pubkeys[66][33],int32_t mids[66],int32_t heigh if ( mids[i] == notaryid ) { for (j=0; j<66; j++) - printf("%d ",mids[j]); + fprintf(stderr,"%d ",mids[j]); fprintf(stderr,"ht.%d repeat notaryid.%d in mids[%d]\n",height,notaryid,i); if ( height > 792000 ) return(-1); @@ -921,7 +920,7 @@ int32_t komodo_is_special(uint8_t pubkeys[66][33],int32_t mids[66],int32_t heigh if ( nid == notaryid ) { for (j=0; j<66; j++) - printf("%d ",mids[j]); + fprintf(stderr,"%d ",mids[j]); fprintf(stderr,"ht.%d repeat mids[%d] nid.%d notaryid.%d\n",height-i,i,nid,notaryid); if ( height > 225000 ) return(-1); diff --git a/src/pow.cpp b/src/pow.cpp index ec297a559..4141664c0 100644 --- a/src/pow.cpp +++ b/src/pow.cpp @@ -218,6 +218,12 @@ bool CheckProofOfWork(int32_t height,uint8_t *pubkey33,uint256 hash, unsigned in if ( height > 792000 ) return false; } + if ( KOMODO_LOADINGBLOCKS == 0 ) + { + for (i=0; i<66; i++) + fprintf(stderr,"%d ",mids[i]); + fprintf(stderr,"mids ht.%d\n",height); + } return true; }