From f220b93b128c1ce736cdb090cbfec52fb14622e7 Mon Sep 17 00:00:00 2001 From: Sovran Systems <99053422+naturallaw777@users.noreply.github.com> Date: Mon, 10 Aug 2026 09:45:23 -0500 Subject: [PATCH] Add missing bitcoind-rpc-public-whitelist.nix This file is imported by bitcoind.nix line 375 but was missing from the repo. Vendored from nix-bitcoin to make the module self-contained. --- .../bitcoin/bitcoind-rpc-public-whitelist.nix | 70 +++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 modules/bitcoin/bitcoind-rpc-public-whitelist.nix diff --git a/modules/bitcoin/bitcoind-rpc-public-whitelist.nix b/modules/bitcoin/bitcoind-rpc-public-whitelist.nix new file mode 100644 index 0000000..a5749fd --- /dev/null +++ b/modules/bitcoin/bitcoind-rpc-public-whitelist.nix @@ -0,0 +1,70 @@ +# RPC calls that are safe for public use +# Vendored from nix-bitcoin - do not fetch from upstream at runtime +[ + "echo" + "getinfo" + "getindexinfo" + "help" + "ping" + "uptime" + # Blockchain + "getbestblockhash" + "getblock" + "getblockchaininfo" + "getblockcount" + "getblockfilter" + "getblockfrompeer" + "getblockhash" + "getblockheader" + "getblockstats" + "getchaintips" + "getchaintxstats" + "getdeploymentinfo" + "getdifficulty" + "getmempoolancestors" + "getmempooldescendants" + "getmempoolentry" + "getmempoolinfo" + "getrawmempool" + "gettxout" + "gettxoutproof" + "gettxoutsetinfo" + "scantxoutset" + "verifytxoutproof" + # Mining + "getblocktemplate" + "getmininginfo" + "getnetworkhashps" + # Network + "getnetworkinfo" + "getnodeaddresses" + "getpeerinfo" + # Rawtransactions + "analyzepsbt" + "combinepsbt" + "combinerawtransaction" + "converttopsbt" + "createpsbt" + "createrawtransaction" + "decodepsbt" + "decoderawtransaction" + "decodescript" + "finalizepsbt" + "fundrawtransaction" + "getrawtransaction" + "joinpsbts" + "sendrawtransaction" + "signrawtransactionwithkey" + "testmempoolaccept" + "utxoupdatepsbt" + # Util + "createmultisig" + "deriveaddresses" + "estimatesmartfee" + "getdescriptorinfo" + "signmessagewithprivkey" + "validateaddress" + "verifymessage" + # Zmq + "getzmqnotifications" +]