Skip to content

Commit

Permalink
Fix bench log for payee and special txes (#2678)
Browse files Browse the repository at this point in the history
  • Loading branch information
UdjinM6 committed Feb 2, 2019
1 parent 03fa115 commit 09e71de
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/validation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1883,6 +1883,7 @@ static ThresholdConditionCache warningcache[VERSIONBITS_NUM_BITS];
static int64_t nTimeCheck = 0;
static int64_t nTimeForks = 0;
static int64_t nTimeVerify = 0;
static int64_t nTimePayeeAndSpecial = 0;
static int64_t nTimeConnect = 0;
static int64_t nTimeIndex = 0;
static int64_t nTimeCallbacks = 0;
Expand Down Expand Up @@ -2220,8 +2221,8 @@ static bool ConnectBlock(const CBlock& block, CValidationState& state, CBlockInd
pindex->GetBlockHash().ToString(), FormatStateMessage(state));
}

int64_t nTime5 = GetTimeMicros(); nTimeVerify += nTime5 - nTime4;
LogPrint("bench", " - Payee and special txes: %.2fms [%.2fs]\n", 0.001 * (nTime4 - nTime2), nTimeVerify * 0.000001);
int64_t nTime5 = GetTimeMicros(); nTimePayeeAndSpecial += nTime5 - nTime4;
LogPrint("bench", " - Payee and special txes: %.2fms [%.2fs]\n", 0.001 * (nTime5 - nTime4), nTimePayeeAndSpecial * 0.000001);

// END DASH

Expand Down

0 comments on commit 09e71de

Please sign in to comment.