mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-13 07:28:59 +01:00
Merge #9472: Disentangle progress estimation from checkpoints and update it
df36371Update estimated transaction count data (Pieter Wuille)e356d9aShorten variable names and switch to tx/s (Pieter Wuille)6dd8116Remove SIGCHECK_VERIFICATION_FACTOR (Pieter Wuille)3641141Move tx estimation data out of CCheckPointData (Pieter Wuille)a4bac66[MOVEONLY] Move progress estimation out of checkpoints (Pieter Wuille)
This commit is contained in:
@@ -1120,7 +1120,7 @@ UniValue getblockchaininfo(const JSONRPCRequest& request)
|
||||
obj.push_back(Pair("bestblockhash", chainActive.Tip()->GetBlockHash().GetHex()));
|
||||
obj.push_back(Pair("difficulty", (double)GetDifficulty()));
|
||||
obj.push_back(Pair("mediantime", (int64_t)chainActive.Tip()->GetMedianTimePast()));
|
||||
obj.push_back(Pair("verificationprogress", Checkpoints::GuessVerificationProgress(Params().Checkpoints(), chainActive.Tip())));
|
||||
obj.push_back(Pair("verificationprogress", GuessVerificationProgress(Params().TxData(), chainActive.Tip())));
|
||||
obj.push_back(Pair("chainwork", chainActive.Tip()->nChainWork.GetHex()));
|
||||
obj.push_back(Pair("pruned", fPruneMode));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user