Skip to content

Commit

Permalink
[Trivial] Log stake modifier and timeBlockFrom in CheckKernelHash()
Browse files Browse the repository at this point in the history
  • Loading branch information
random-zebra committed May 5, 2021
1 parent ddf0dcb commit b1c0afb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/kernel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -69,13 +69,15 @@ bool CStakeKernel::CheckKernelHash(bool fSkipLog) const

if (!fSkipLog || res) {
LogPrint(BCLog::STAKING, "%s : Proof Of Stake:"
"\nstakeModifier=%s"
"\nnTimeBlockFrom=%d"
"\nssUniqueID=%s"
"\nnTimeTx=%d"
"\nhashProofOfStake=%s"
"\nnBits=%d"
"\nweight=%d"
"\nbnTarget=%s (res: %d)\n\n",
__func__, HexStr(stakeUniqueness), nTime, hashProofOfStake.GetHex(),
__func__, HexStr(stakeModifier), nTimeBlockFrom, HexStr(stakeUniqueness), nTime, hashProofOfStake.GetHex(),
nBits, stakeValue, bnTarget.GetHex(), res);
}
return res;
Expand Down

0 comments on commit b1c0afb

Please sign in to comment.