reduce log spam

This commit is contained in:
UdjinM6 2016-09-20 23:26:28 +03:00
parent 8d80a71ffe
commit 4c5e4cded5

View File

@ -95,7 +95,7 @@ bool IsBlockValueValid(const CBlock& block, int nBlockHeight, CAmount blockRewar
LogPrint("gobject", "IsBlockValueValid -- No triggered superblock detected at height %d\n", nBlockHeight); LogPrint("gobject", "IsBlockValueValid -- No triggered superblock detected at height %d\n", nBlockHeight);
} else { } else {
// should NOT allow superblocks at all, when superblocks are disabled // should NOT allow superblocks at all, when superblocks are disabled
LogPrintf("IsBlockValueValid -- Superblocks are disabled, no superblocks allowed\n"); LogPrint("gobject", "IsBlockValueValid -- Superblocks are disabled, no superblocks allowed\n");
} }
// it MUST be a regular block // it MUST be a regular block
@ -162,7 +162,7 @@ bool IsBlockPayeeValid(const CTransaction& txNew, int nBlockHeight, CAmount bloc
LogPrint("gobject", "IsBlockPayeeValid -- No triggered superblock detected at height %d\n", nBlockHeight); LogPrint("gobject", "IsBlockPayeeValid -- No triggered superblock detected at height %d\n", nBlockHeight);
} else { } else {
// should NOT allow superblocks at all, when superblocks are disabled // should NOT allow superblocks at all, when superblocks are disabled
LogPrintf("IsBlockPayeeValid -- Superblocks are disabled, no superblocks allowed\n"); LogPrint("gobject", "IsBlockPayeeValid -- Superblocks are disabled, no superblocks allowed\n");
} }
// IF THIS ISN'T A SUPERBLOCK OR SUPERBLOCK IS INVALID, IT SHOULD PAY A MASTERNODE DIRECTLY // IF THIS ISN'T A SUPERBLOCK OR SUPERBLOCK IS INVALID, IT SHOULD PAY A MASTERNODE DIRECTLY