Skip to content

Commit

Permalink
Add getinfo to whitelist
Browse files Browse the repository at this point in the history
  • Loading branch information
gartnera authored Dec 11, 2024
1 parent 4a93543 commit 66bc8cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wallet.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ rpcpassword=${ADMIN_RPC_PASSWORD}
rpcallowip=0.0.0.0/0
$(generate_rpcauth_entry $ADMIN_RPC_USER $ADMIN_RPC_PASSWORD)
$(generate_rpcauth_entry $RPC_USER $RPC_PASSWORD)
rpcwhitelist=${RPC_USER}:getnetworkinfo,getbalance,sendrawtransaction,listunspent,estimatesmartfee,gettransaction,getrawtransaction,getblock,getblockhash,getblockheader,getblockcount,ping
rpcwhitelist=${RPC_USER}:getnetworkinfo,getbalance,sendrawtransaction,listunspent,estimatesmartfee,gettransaction,getrawtransaction,getblock,getblockhash,getblockheader,getblockcount,getinfo,ping
rpcwhitelistdefault=0
[${CHAIN}]
Expand Down Expand Up @@ -209,4 +209,4 @@ echo "Check bitcoind is running."
check_bitcoin_is_running

echo "Start bitcoind foreground process"
start_bitcoind
start_bitcoind

0 comments on commit 66bc8cd

Please sign in to comment.