mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-20 07:09:15 +01:00
log: reword signature validations to script verification in assumevalid log
Even though not all script verification is turned off currently (e.g. we're still doing the cheaper sigop counts), this naming is more consistent with other usages.
This commit is contained in:
@@ -2564,7 +2564,13 @@ bool Chainstate::ConnectBlock(const CBlock& block, BlockValidationState& state,
|
||||
Ticks<MillisecondsDouble>(m_chainman.time_forks) / m_chainman.num_blocks_total);
|
||||
|
||||
if (fScriptChecks != m_prev_script_checks_logged && GetRole() == ChainstateRole::NORMAL) {
|
||||
LogInfo("%s signature validations at block #%d (%s).", fScriptChecks ? "Enabling" : "Disabling", pindex->nHeight, block_hash.ToString());
|
||||
if (fScriptChecks) {
|
||||
LogInfo("Enabling script verification at block #%d (%s).",
|
||||
pindex->nHeight, block_hash.ToString());
|
||||
} else {
|
||||
LogInfo("Disabling script verification at block #%d (%s).",
|
||||
pindex->nHeight, block_hash.ToString());
|
||||
}
|
||||
m_prev_script_checks_logged = fScriptChecks;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user