fix debug prints
This commit is contained in:
@@ -154,11 +154,6 @@ CBlockTemplate* CreateNewBlock(const CScript& _scriptPubKeyIn, int32_t gpucount,
|
|||||||
if (txT == TX_PUBKEY)
|
if (txT == TX_PUBKEY)
|
||||||
pk = CPubKey(vAddrs[0]);
|
pk = CPubKey(vAddrs[0]);
|
||||||
}
|
}
|
||||||
fprintf(stderr,"selected pubkey inside CreateBlock: ");
|
|
||||||
for (int i=0; i<33; i++) {
|
|
||||||
fprintf(stderr,"%02x",scriptPubKeyIn[i+1]);
|
|
||||||
}
|
|
||||||
fprintf(stderr,"\n");
|
|
||||||
|
|
||||||
uint64_t deposits; int32_t isrealtime,kmdheight; uint32_t blocktime; const CChainParams& chainparams = Params();
|
uint64_t deposits; int32_t isrealtime,kmdheight; uint32_t blocktime; const CChainParams& chainparams = Params();
|
||||||
//fprintf(stderr,"create new block\n");
|
//fprintf(stderr,"create new block\n");
|
||||||
|
|||||||
@@ -359,8 +359,6 @@ UniValue setgenerate(const UniValue& params, bool fHelp)
|
|||||||
mapArgs["-gen"] = (fGenerate ? "1" : "0");
|
mapArgs["-gen"] = (fGenerate ? "1" : "0");
|
||||||
mapArgs ["-genproclimit"] = itostr(KOMODO_MININGTHREADS);
|
mapArgs ["-genproclimit"] = itostr(KOMODO_MININGTHREADS);
|
||||||
|
|
||||||
fprintf(stderr, "miningthreads.%i generate.%i\n",KOMODO_MININGTHREADS,(fGenerate ? 1 : 0));
|
|
||||||
|
|
||||||
#ifdef ENABLE_WALLET
|
#ifdef ENABLE_WALLET
|
||||||
GenerateBitcoins(fGenerate, pwalletMain, nGenProcLimit);
|
GenerateBitcoins(fGenerate, pwalletMain, nGenProcLimit);
|
||||||
#else
|
#else
|
||||||
|
|||||||
Reference in New Issue
Block a user