From 4a1b4b86fca71a7cfe23c00f5f479d240664a2c5 Mon Sep 17 00:00:00 2001 From: Charlie Chen <34498985+ws4charlie@users.noreply.github.com> Date: Mon, 6 Jan 2025 11:03:44 -0600 Subject: [PATCH] whitelist Bitcoin mempool related RPCs to enable mempool pending txs monitoring (#17) --- wallet.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wallet.sh b/wallet.sh index b36e934..3dfbc93 100755 --- a/wallet.sh +++ b/wallet.sh @@ -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,getinfo,ping +rpcwhitelist=${RPC_USER}:getnetworkinfo,getbalance,sendrawtransaction,listunspent,estimatesmartfee,gettransaction,getrawtransaction,getrawmempool,getmempoolentry,getblock,getblockhash,getblockheader,getblockcount,getinfo,ping rpcwhitelistdefault=0 [${CHAIN}]