mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-15 12:51:00 +02:00
Merge d88f7f8764 into merged_master (Bitcoin PR #15471)
This commit is contained in:
commit
2b24674400
3 changed files with 1 additions and 29 deletions
|
|
@ -2412,12 +2412,6 @@ void static UpdateTip(const CBlockIndex *pindexNew, const CChainParams& chainPar
|
|||
}
|
||||
if (nUpgraded > 0)
|
||||
AppendWarning(warningMessages, strprintf(_("%d of last 100 blocks have unexpected version"), nUpgraded));
|
||||
if (nUpgraded > 100/2)
|
||||
{
|
||||
std::string strWarning = _("Warning: Unknown block versions being mined! It's possible unknown rules are in effect");
|
||||
// notify GetWarnings(), called by Qt and the JSON-RPC code to warn the user:
|
||||
DoWarning(strWarning);
|
||||
}
|
||||
}
|
||||
LogPrintf("%s: new best=%s height=%d version=0x%08x tx=%lu date='%s' progress=%f cache=%.1fMiB(%utxo)", __func__, /* Continued */
|
||||
pindexNew->GetBlockHash().ToString(), pindexNew->nHeight, pindexNew->nVersion,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue