Add missing newline in rxdebug and add debugging about solutionTargetChecks
This commit is contained in:
@@ -1209,7 +1209,7 @@ void static RandomXMiner()
|
||||
|
||||
// std::cerr << "RandomXMiner: randomxInput=" << HexStr(randomxInput) << "\n";
|
||||
// fprintf(stderr,"RandomXMiner: created randomxKey=%s , randomxInput.size=%lu\n", randomxKey, randomxInput.size() ); //randomxInput);
|
||||
rxdebug("%s: randomxKey=%s randomxInput=%s", randomxKey, HexStr(randomxInput).c_str());
|
||||
rxdebug("%s: randomxKey=%s randomxInput=%s\n", randomxKey, HexStr(randomxInput).c_str());
|
||||
|
||||
randomx_flags flags = randomx_get_flags();
|
||||
randomx_cache *randomxCache = randomx_alloc_cache(flags);
|
||||
@@ -1277,6 +1277,7 @@ void static RandomXMiner()
|
||||
rxdebug("%s: Checking solution against target\n");
|
||||
pblock->nSolution = soln;
|
||||
solutionTargetChecks.increment();
|
||||
rxdebug("%s: solutionTargetChecks=%d\n", solutionTargetChecks.get());
|
||||
B = *pblock;
|
||||
h = UintToArith256(B.GetHash());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user