From 965f0f7e972d466d516b562554985ed0c2d4413f Mon Sep 17 00:00:00 2001 From: jl777 Date: Thu, 2 Feb 2017 17:23:45 +0200 Subject: [PATCH] test --- src/miner.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/miner.cpp b/src/miner.cpp index f7585b568..1686c87a8 100644 --- a/src/miner.cpp +++ b/src/miner.cpp @@ -625,6 +625,9 @@ void static BitcoinMiner(CWallet *pwallet) komodo_eligiblenotary(mids,&nonzpkeys,pindexPrev->nHeight); if ( nonzpkeys > 0 ) { + for (j=0; j<65; j++) + printf("%d ",mids[j]); + printf(" <- minerids from ht.%d\n",pindexPrev->nHeight); for (j=0; j<65; j++) if ( mids[j] == notaryid ) break; @@ -632,8 +635,8 @@ void static BitcoinMiner(CWallet *pwallet) { hashTarget = arith_uint256().SetCompact(KOMODO_MINDIFF_NBITS); fprintf(stderr,"I am the chosen one for %s ht.%d\n",ASSETCHAINS_SYMBOL,pindexPrev->nHeight+1); - } - } + } else printf("duplicate at j.%d\n",j); + } else fprintf(stderr,"no nonz pubkeys\n"); } else Mining_start = 0; } else Mining_start = 0; while (true)