aboutsummaryrefslogtreecommitdiff
path: root/src/qt/rpcconsole.h
diff options
context:
space:
mode:
authorLuke Dashjr <luke-jr+git@utopios.org>2016-11-16 11:36:21 +0000
committerLuke Dashjr <luke-jr+git@utopios.org>2016-12-29 11:46:26 +0000
commit629cd423644b1f6d180eb5eeb3fb8a204881db97 (patch)
treede9dc28baae2c1f10705c482a7ffce34baa926e9 /src/qt/rpcconsole.h
parente2d9213c32e51fe197756709e24c6694f28bf842 (diff)
downloadbitcoin-629cd423644b1f6d180eb5eeb3fb8a204881db97.tar.xz
Qt/RPCConsole: Teach RPCParseCommandLine how to filter out arguments to sensitive commands
Diffstat (limited to 'src/qt/rpcconsole.h')
-rw-r--r--src/qt/rpcconsole.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/qt/rpcconsole.h b/src/qt/rpcconsole.h
index 9567341ae2..dfc1cc26d6 100644
--- a/src/qt/rpcconsole.h
+++ b/src/qt/rpcconsole.h
@@ -36,9 +36,9 @@ public:
explicit RPCConsole(const PlatformStyle *platformStyle, QWidget *parent);
~RPCConsole();
- static bool RPCParseCommandLine(std::string &strResult, const std::string &strCommand, bool fExecute);
- static bool RPCExecuteCommandLine(std::string &strResult, const std::string &strCommand) {
- return RPCParseCommandLine(strResult, strCommand, true);
+ static bool RPCParseCommandLine(std::string &strResult, const std::string &strCommand, bool fExecute, std::string * const pstrFilteredOut = NULL);
+ static bool RPCExecuteCommandLine(std::string &strResult, const std::string &strCommand, std::string * const pstrFilteredOut = NULL) {
+ return RPCParseCommandLine(strResult, strCommand, true, pstrFilteredOut);
}
void setClientModel(ClientModel *model);