mirror of
https://github.com/fort-nix/nix-bitcoin.git
synced 2024-11-30 03:32:05 +03:00
4790c601a1
This enables modules-only usage. The privileged user is needed by bitcoind (cli), the public user is needed by other services.
62 lines
1.1 KiB
Nix
62 lines
1.1 KiB
Nix
# RPC calls that are safe for public use
|
|
[
|
|
"echo"
|
|
"getinfo"
|
|
# Blockchain
|
|
"getbestblockhash"
|
|
"getblock"
|
|
"getblockchaininfo"
|
|
"getblockcount"
|
|
"getblockfilter"
|
|
"getblockhash"
|
|
"getblockheader"
|
|
"getblockstats"
|
|
"getchaintips"
|
|
"getchaintxstats"
|
|
"getdifficulty"
|
|
"getmempoolancestors"
|
|
"getmempooldescendants"
|
|
"getmempoolentry"
|
|
"getmempoolinfo"
|
|
"getrawmempool"
|
|
"gettxout"
|
|
"gettxoutproof"
|
|
"gettxoutsetinfo"
|
|
"scantxoutset"
|
|
"verifytxoutproof"
|
|
# Mining
|
|
"getblocktemplate"
|
|
"getmininginfo"
|
|
"getnetworkhashps"
|
|
# Network
|
|
"getnetworkinfo"
|
|
# 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"
|
|
]
|