aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHan Lin Yap <codler@gmail.com>2011-07-30 19:58:22 +0300
committerHan Lin Yap <codler@gmail.com>2011-07-30 19:58:22 +0300
commit8c2143d4d892fa806f98cf55565757b4aa3bf6a7 (patch)
tree7c3755cd200d70142acf467eee581fd6265cde05 /src
parente1f13129e89f46df631f9523eea4c0e0448c9b7b (diff)
downloadbitcoin-8c2143d4d892fa806f98cf55565757b4aa3bf6a7.tar.xz
Comment "deprecated"
Diffstat (limited to 'src')
-rw-r--r--src/rpc.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rpc.cpp b/src/rpc.cpp
index 92096b460f..21ef990f05 100644
--- a/src/rpc.cpp
+++ b/src/rpc.cpp
@@ -1742,7 +1742,7 @@ string pAllowInSafeMode[] =
"getinfo",
"getnewaddress",
"getaccountaddress",
- "setlabel",
+ "setlabel", // deprecated
"getaccount",
"getlabel", // deprecated
"getaddressesbyaccount",
@@ -2373,7 +2373,7 @@ int CommandLineRPC(int argc, char *argv[])
if (strMethod == "getreceivedbyaccount" && n > 1) ConvertTo<boost::int64_t>(params[1]);
if (strMethod == "getreceivedbylabel" && n > 1) ConvertTo<boost::int64_t>(params[1]); // deprecated
if (strMethod == "getallreceived" && n > 0) ConvertTo<boost::int64_t>(params[0]); // deprecated
- if (strMethod == "getallreceived" && n > 1) ConvertTo<bool>(params[1]);
+ if (strMethod == "getallreceived" && n > 1) ConvertTo<bool>(params[1]); // deprecated
if (strMethod == "listreceivedbyaddress" && n > 0) ConvertTo<boost::int64_t>(params[0]);
if (strMethod == "listreceivedbyaddress" && n > 1) ConvertTo<bool>(params[1]);
if (strMethod == "listreceivedbyaccount" && n > 0) ConvertTo<boost::int64_t>(params[0]);