Skip to content

Commit c3cdc88

Browse files
hebastowaketraindev
authored andcommitted
Merge bitcoin-core/gui#901: Add createwallet, createwalletdescriptor, and migratewallet to history filter
4e352ef qt: add createwallet, createwalletdescriptor, and migratewallet to history filter (WakeTrainDev) Pull request description: Added `createwallet`, `createwalletdescriptor` and `migratewallet` RPC commands to the Qt console history filter since they may include passphrases or other sensitive data that should not be stored in command history. ACKs for top commit: pablomartin4btc: utACK 4e352ef hebasto: ACK 4e352ef. Tree-SHA512: dc6a12b95173b1e476d483381df3d74add88a1e225c90b1b60db59eab6d504a2496b66890ccec28c691745e405a3053d72afda9d80ae96a703f12cd256e4ebd6
1 parent a14e7b9 commit c3cdc88

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/qt/rpcconsole.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,9 @@ namespace {
7272

7373
// don't add private key handling cmd's to the history
7474
const QStringList historyFilter = QStringList()
75+
<< "createwallet"
76+
<< "createwalletdescriptor"
77+
<< "migratewallet"
7578
<< "signmessagewithprivkey"
7679
<< "signrawtransactionwithkey"
7780
<< "walletpassphrase"

0 commit comments

Comments
 (0)