mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-16 13:01:19 +02:00
Merge remote-tracking branch 'bitcoin-gh/0.18' into 0.18.0-backports
This commit is contained in:
commit
a7742ca3a2
199 changed files with 9325 additions and 5920 deletions
|
|
@ -2411,12 +2411,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