aboutsummaryrefslogtreecommitdiff
path: root/rpc.cpp
diff options
context:
space:
mode:
authors_nakamoto <s_nakamoto@1a98c847-1fd6-4fd8-948a-caf3550aa51b>2010-08-20 16:55:14 +0000
committers_nakamoto <s_nakamoto@1a98c847-1fd6-4fd8-948a-caf3550aa51b>2010-08-20 16:55:14 +0000
commit2201a0808ea240617a66823f98dda3433d2546b0 (patch)
tree236085e71879b66b05bf3266a2b52f7322d104ff /rpc.cpp
parent05454818dc7ed92f577a1a1ef6798049f17a52e7 (diff)
warning message if clock is too far off
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@141 1a98c847-1fd6-4fd8-948a-caf3550aa51b
Diffstat (limited to 'rpc.cpp')
-rw-r--r--rpc.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/rpc.cpp b/rpc.cpp
index 679951af23..a93a6bcff1 100644
--- a/rpc.cpp
+++ b/rpc.cpp
@@ -247,6 +247,7 @@ Value getinfo(const Array& params, bool fHelp)
obj.push_back(Pair("genproclimit", (int)(fLimitProcessors ? nLimitProcessors : -1)));
obj.push_back(Pair("difficulty", (double)GetDifficulty()));
obj.push_back(Pair("hashespersec", gethashespersec(params, false)));
+ obj.push_back(Pair("status", strWarning));
return obj;
}