diff options
| author | Pieter Wuille <[email protected]> | 2017-01-04 07:09:02 -0800 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2017-01-04 13:18:49 -0800 |
| commit | a4bac66cca62a5514579a15d198f3baa80683172 (patch) | |
| tree | 8b87de6722b0626d1616667dbfeb587f75a0efcf /src/rpc/blockchain.cpp | |
| parent | Merge #9107: Safer modify new coins (diff) | |
| download | discoin-a4bac66cca62a5514579a15d198f3baa80683172.tar.xz discoin-a4bac66cca62a5514579a15d198f3baa80683172.zip | |
[MOVEONLY] Move progress estimation out of checkpoints
Diffstat (limited to 'src/rpc/blockchain.cpp')
| -rw-r--r-- | src/rpc/blockchain.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/blockchain.cpp b/src/rpc/blockchain.cpp index a127f10b8..a3954d81f 100644 --- a/src/rpc/blockchain.cpp +++ b/src/rpc/blockchain.cpp @@ -1073,7 +1073,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().Checkpoints(), chainActive.Tip()))); obj.push_back(Pair("chainwork", chainActive.Tip()->nChainWork.GetHex())); obj.push_back(Pair("pruned", fPruneMode)); |