This guide explains Bitcoin Core rpcwhitelist in plain English. It shows what the command does, what its result means and what it cannot prove.
TL;DR
- What it is: Bitcoin Core 0.20.0 introduced rpcwhitelist and rpcwhitelistdefault so authenticated RPC users could be restricted to named methods. A whitelist entry used a username followed by a comma-separated method set; multiple entries for the same user were intersected.
- Why it matters: Bitcoin Core RPC whitelists add useful method-level least privilege, but they do not replace network isolation or careful command design. Build explicit roles, test denial paths and preserve a protected recovery route.
- Current position: Require a second reviewer and explicit rollback or expiry, and pause payments, signing or network-dependent services until post-change evidence is complete.
Bitcoin Core rpcwhitelist in simple English
Bitcoin Core rpcwhitelist: Each rpcwhitelist value binds one username to an explicit comma-separated method list. Generate configuration from reviewed structured policy rather than accepting free-form administrator text.
Simple example
A node operator is checking Bitcoin Core rpcwhitelist. When several whitelist entries name the same user, Core intersects the method sets. Treat this as deliberate tightening and test the final effective set.
Key terms in plain English
- Bitcoin Core:
- Widely used software that validates Bitcoin and can provide wallet, network and operator tools.
- RPC:
- A command that software sends to a node to request information or a local action.
- Node:
- A computer running Bitcoin software that checks data and communicates with other peers.
Separate authentication and authority
Keep RPC transport on a protected interface with strong generated credentials. A correct username and password identifies a caller; the whitelist then limits which command names that identity may invoke.
Entry syntax
Each rpcwhitelist value binds one username to an explicit comma-separated method list. Generate configuration from reviewed structured policy rather than accepting free-form administrator text.
Intersection semantics
When several whitelist entries name the same user, Core intersects the method sets. Treat this as deliberate tightening and test the final effective set; duplicate fragments do not add permissions.
Default behaviour
Unless rpcwhitelistdefault is zero, setting any whitelist causes unspecified users to receive empty whitelists. Setting the default to one with no entries also denies every RPC method.
Method-level limits
Allowing a method does not constrain its arguments, wallet endpoint or filesystem path. Use separate users and nodes where parameter-level or tenant isolation is required.
Deployment safety
Keep one tested emergency administrative route on a protected host, validate syntax before restart and prevent credentials or method inventories entering public logs.
How specialists test it
Operators test the command on a non-production node first. They check a normal reply, an invalid request, a timeout and a restart. This shows what the response means and prevents one local result from being mistaken for a network-wide outcome.
Frequently asked questions
What is the main point of Bitcoin Core rpcwhitelist?
Bitcoin Core rpcwhitelist: Each rpcwhitelist value binds one username to an explicit comma-separated method list.
For Bitcoin Core rpcwhitelist, what should a beginner know about separate authentication and authority?
Keep RPC transport on a protected interface with strong generated credentials. A correct username and password identifies a caller.
For Bitcoin Core rpcwhitelist, what should a beginner know about entry syntax?
Each rpcwhitelist value binds one username to an explicit comma-separated method list.
For Bitcoin Core rpcwhitelist, what should a beginner know about intersection semantics?
When several whitelist entries name the same user, Core intersects the method sets.
Conclusion
Bitcoin Core RPC whitelists add useful method-level least privilege, but they do not replace network isolation or careful command design. Build explicit roles, test denial paths and preserve a protected recovery route.
Primary sources
Check the current specification status and the documentation for the exact implementation you operate before moving production funds or changing a mining node.



Join the ASIC Mining Discussion
Members can read and join the discussion
Log in to read comments from other miners. Create a free account if you would like to ask a question or share your experience.
Membership helps us protect the discussion from spam and keep answers useful.