From: CryptoManiac Date: Sun, 29 Mar 2015 14:29:16 +0000 (+0300) Subject: Comment fixes X-Git-Tag: nvc-v0.5.3~52^2~5 X-Git-Url: https://git.novaco.in/?p=novacoin.git;a=commitdiff_plain;h=1e7993f68d8ada2bf6a523ac3b4afec64157f8ed Comment fixes --- diff --git a/src/kernel.cpp b/src/kernel.cpp index 553f407..4055314 100644 --- a/src/kernel.cpp +++ b/src/kernel.cpp @@ -509,7 +509,7 @@ bool ScanForStakeKernelHash(MetaMap &mapMeta, uint32_t nBits, uint32_t nTime, ui return false; } -// Scan given input for kernel solutions +// Scan given input for kernel solution bool ScanInputForStakeKernelHash(CTransaction &tx, uint32_t nOut, uint32_t nBits, uint32_t nSearchInterval, std::pair &solution) { CBlock block; @@ -540,8 +540,7 @@ bool ScanInputForStakeKernelHash(CTransaction &tx, uint32_t nOut, uint32_t nBits bnTargetPerCoinDay.SetCompact(nBits); int64_t nValueIn = tx.vout[nOut].nValue; - // Search backward in time from the given timestamp - // Search nSearchInterval seconds back + // Search forward in time from the given timestamp // Stopping search in case of shutting down for (unsigned int n=0; n