Skip to content

Commit

Permalink
Clean logs
Browse files Browse the repository at this point in the history
  • Loading branch information
sdmg15 committed Jun 7, 2024
1 parent 672582c commit a3ee8ee
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/validation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3338,16 +3338,6 @@ bool CChainState::ConnectBlock(const CBlock& block, BlockValidationState& state,
} else {
// The staker was not eligible so the carried forward has to be set
// The carried forward is set since there were no gvr output
LogPrintf("THE STAKER OF THE BLOCK IS %s\n", EncodeDestination(stakerAddrDest));
LogPrintf("THE SIZE OF THE ELIG MAP IS %d\n", eligibleAddresses.size());

for (auto& elig: eligibleAddresses) {
LogPrintf("ELIGIBLE ADRR WERE (ADDR=%s, MUL=%d)\n", std::string(elig.first.begin(), elig.first.end()), elig.second);
}

eligibleAddresses = rewardTracker.getEligibleAddresses(pindex->nHeight);
LogPrintf("THE SIZE OF THE ELIG MAP AFTER RETRY IS %d\n", eligibleAddresses.size());

if (!txCoinstake->GetGvrFundCfwd(ngvrCfwdCheck)) {
LogPrintf("ERROR: %s: Coinstake gvr cfwd must be set.\n", __func__);
return state.Invalid(BlockValidationResult::BLOCK_CONSENSUS, "bad-cs-cfwd");
Expand Down Expand Up @@ -3415,7 +3405,6 @@ bool CChainState::ConnectBlock(const CBlock& block, BlockValidationState& state,
// Track out/in only after verifydb is done

if (!fVerifyingDB) {
LogPrintf("TRACKING CURRENT HEIGHT %d AND READ HEIGHT = %d\n", pindex->nHeight, readHeight);
if (pindex->nHeight >= consensus.automatedGvrActivationHeight) {

LogPrintf("%s Last tracked Height %d, Current connecting height %d\n", __func__, readHeight, pindex->nHeight);
Expand Down

0 comments on commit a3ee8ee

Please sign in to comment.