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
parent
commit
29c8a2e903
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 60
      app/config.js

60
app/config.js

@ -9,27 +9,67 @@ module.exports = {
coin: currentCoin,
rpcBlacklist:[
"stop",
"savemempool",
"addnode",
"backupwallet",
"bumpfee",
"clearbanned",
"createmultisig",
"disconnectnode",
"dumpprivkey",
"dumpwallet",
"setban",
"clearbanned",
"setnetworkactive",
"encryptwallet",
"generate",
"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",
"logging",
"move",
"preciousblock",
"pruneblockchain"
"removeprunedfunds",
"rescanblockchain",
"encryptwallet",
"backupwallet",
"importwallet",
"savemempool",
"sendfrom",
"sendmany",
"sendtoaddress",
"sendrawtransaction",
"setaccount"
"setban",
"setnetworkactive",
"signmessage",
"signmessagewithprivatekey",
"signrawtransaction",
"stop",
"submitblock",
"verifychain",
"walletlock",
"walletpassphrase",
"walletpassphrasechange",
"verifychain",
"pruneblockchain"
],
// https://uasf.saltylemon.org/electrum

Loading…
Cancel
Save