aboutsummaryrefslogtreecommitdiff
path: root/src/rpcnet.cpp
diff options
context:
space:
mode:
authorStephen <scmorse@colby.edu>2015-06-11 16:12:34 -0400
committerStephen <scmorse@colby.edu>2015-06-11 16:12:34 -0400
commitef2a3de25c882396e1776b554878d2784b6b7391 (patch)
treecaab0736ccab0b0576413d6bfcee37810ae74587 /src/rpcnet.cpp
parent55294a9fb673ab0a7c99b9c18279fe12a5a07890 (diff)
Add paytxfee to getwalletinfo, warnings to getnetworkinfo
Diffstat (limited to 'src/rpcnet.cpp')
-rw-r--r--src/rpcnet.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rpcnet.cpp b/src/rpcnet.cpp
index a36831de2a..c4e038eebb 100644
--- a/src/rpcnet.cpp
+++ b/src/rpcnet.cpp
@@ -408,6 +408,7 @@ UniValue getnetworkinfo(const UniValue& params, bool fHelp)
" }\n"
" ,...\n"
" ]\n"
+ " \"warnings\": \"...\" (string) any network warnings (such as alert messages) \n"
"}\n"
"\nExamples:\n"
+ HelpExampleCli("getnetworkinfo", "")
@@ -439,5 +440,6 @@ UniValue getnetworkinfo(const UniValue& params, bool fHelp)
}
}
obj.push_back(Pair("localaddresses", localAddresses));
+ obj.push_back(Pair("warnings", GetWarnings("statusbar")));
return obj;
}