Browse Source
expand rpc blacklist
This commit expands the rpc blacklist to cover all calls that could leak
sensitive information about the wallet of the bitcoin node or that could
cause the operator to lose funds. It also alphabetizes the blacklist.
fix-133-memory-crash
Daniel McNally
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
50 additions and
10 deletions
app/config.js
@ -9,27 +9,67 @@ module.exports = {
coin : currentCoin ,
coin : currentCoin ,
rpcBlacklist : [
rpcBlacklist : [
"stop" ,
"savemempool" ,
"addnode" ,
"addnode" ,
"backupwallet" ,
"bumpfee" ,
"clearbanned" ,
"createmultisig" ,
"disconnectnode" ,
"disconnectnode" ,
"dumpprivkey" ,
"dumpprivkey" ,
"dumpwallet" ,
"dumpwallet" ,
"setban" ,
"encryptwallet" ,
"clearbanned" ,
"generate" ,
"setnetworkactive" ,
"generatetoaddress" ,
"getaccountaddrss" ,
"getaddressesbyaccount" ,
"getbalance" ,
"getnewaddress" ,
"getrawchangeaddress" ,
"getreceivedbyaccount" ,
"getreceivedbyaddress" ,
"gettransaction" ,
"getunconfirmedbalance" ,
"getwalletinfo" ,
"importaddress" ,
"importmulti" ,
"importprivkey" ,
"importprunedfunds" ,
"importpubkey" ,
"importwallet" ,
"keypoolrefill" ,
"listaccounts" ,
"listaddressgroupings" ,
"listlockunspent" ,
"listreceivedbyaccount" ,
"listreceivedbyaddress" ,
"listsinceblock" ,
"listtransactions" ,
"listunspent" ,
"listwallets" ,
"lockunspent" ,
"lockunspent" ,
"logging" ,
"move" ,
"move" ,
"preciousblock" ,
"pruneblockchain"
"removeprunedfunds" ,
"removeprunedfunds" ,
"rescanblockchain" ,
"rescanblockchain" ,
"encryptwallet" ,
"savemempool" ,
"backupwallet" ,
"sendfrom" ,
"importwallet" ,
"sendmany" ,
"sendtoaddress" ,
"sendrawtransaction" ,
"setaccount"
"setban" ,
"setnetworkactive" ,
"signmessage" ,
"signmessagewithprivatekey" ,
"signrawtransaction" ,
"stop" ,
"submitblock" ,
"verifychain" ,
"walletlock" ,
"walletlock" ,
"walletpassphrase" ,
"walletpassphrase" ,
"walletpassphrasechange" ,
"walletpassphrasechange" ,
"verifychain" ,
"pruneblockchain"
] ,
] ,
// https://uasf.saltylemon.org/electrum
// https://uasf.saltylemon.org/electrum