aboutsummaryrefslogtreecommitdiff
path: root/src/qt/rpcconsole.h
diff options
context:
space:
mode:
authorJonas Schnelli <jonas.schnelli@include7.ch>2015-03-13 21:51:27 +0100
committerLuke Dashjr <luke-jr+git@utopios.org>2016-12-29 11:43:28 +0000
commit9044908636f0072d001d9a029053a384127b002b (patch)
treeb222ea5dc55ec50a39ec5ddb1563c69ded8486a6 /src/qt/rpcconsole.h
parentfc95daa97f324f6a8b3643a3d3c5e8f909d46c35 (diff)
Qt/RPCConsole: Don't store commands with potentially sensitive information in the history
Filters importprivkey, signrawtransaction, walletpassphrase, walletpassphrasechange, and encryptwallet
Diffstat (limited to 'src/qt/rpcconsole.h')
-rw-r--r--src/qt/rpcconsole.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qt/rpcconsole.h b/src/qt/rpcconsole.h
index e1698711da..4841ea825e 100644
--- a/src/qt/rpcconsole.h
+++ b/src/qt/rpcconsole.h
@@ -140,6 +140,7 @@ private:
ClientModel *clientModel;
QStringList history;
int historyPtr;
+ const static QStringList historyFilter;
QString cmdBeforeBrowsing;
QList<NodeId> cachedNodeids;
const PlatformStyle *platformStyle;