aboutsummaryrefslogtreecommitdiff
path: root/src/rpcnet.cpp
diff options
context:
space:
mode:
authorStephen <[email protected]>2015-06-11 16:12:34 -0400
committerStephen <[email protected]>2015-06-11 16:12:34 -0400
commitef2a3de25c882396e1776b554878d2784b6b7391 (patch)
treecaab0736ccab0b0576413d6bfcee37810ae74587 /src/rpcnet.cpp
parentMerge pull request #6241 (diff)
downloaddiscoin-ef2a3de25c882396e1776b554878d2784b6b7391.tar.xz
discoin-ef2a3de25c882396e1776b554878d2784b6b7391.zip
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 a36831de2..c4e038eeb 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;
}