Skip to main content
£0.00 0

Basket

No products in the basket.

ASIC mining articles and advice

Bitcoin Core RPC Whitelists: Least-Privilege Access Guide

Bitcoin Core 0.20 rpcwhitelist guide covering per-user RPC allowlists, intersection rules, default-deny behaviour, authentication, testing and recovery.

Bitcoin Core rpcwhitelist guide cover

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.

Bitcoin Core rpcwhitelist technical diagram
Intersection semantics: the fields, validation boundary and operational evidence that implementations need to agree.

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.

ASIC MINER PICKS

Recommended ASIC Mining Hardware

Compare three of our highest ranked ASIC miners currently available, with live product details and pricing.
Overall ranking
Equihash
·
ZEC
Overall rank#1of 100AvailableAll: #3 / 831
Bitmain Antminer Z15K 525KSol Equihash Zcash Miner
Bitmain
Pre-Order
Hashrate
525KSOL
Efficiency
4.73W/KSOL
Power
2483W
Earns/kWh
41.5p
Free Shipping
Price · delivered
£6,050.00
ex VAT
Est. per month
£751.62
Payback 8.1 Months
Overall ranking
Equihash
·
ZEC
Overall rank#2of 100AvailableAll: #6 / 831
Bitmain Antminer Z15 Pro 800KSol Equihash Zcash Miner
Bitmain
In stock
Hashrate
800KSOL
Efficiency
3.3W/KSOL
Power
2640W
Earns/kWh
59.5p
Price · delivered
£11,925.00
ex VAT
Est. per month
£1145.32
Payback 10.4 Months
Overall ranking
SHA-256
·
BTC
Overall rank#6of 100AvailableAll: #11 / 831
Bitmain Antminer S23e Hydro 2U 865Th SHA-256 Bitcoin Miner
Bitmain
Pre-Order
Hashrate
865TH
Efficiency
10W/TH
Power
8650W
Earns/kWh
13.2p
Free Shipping
Price · delivered
£9,382.50
ex VAT
Est. per month
£833.90
Payback 11.3 Months
Browse all ASIC miners
MORE MINING ADVICE

More ASIC Mining Articles

Read practical advice about choosing hardware, calculating electricity costs, setting up miners, hosting and maintenance.
MINER COMMUNITY

Join the ASIC Mining Discussion

Ask a question or share what has worked for you. Your experience may help another miner make a better decision.

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.

Log in to read comments Register to join the discussion

Membership helps us protect the discussion from spam and keep answers useful.

ASIC MINING SUPPORT

Need Help Choosing an ASIC Miner?

Tell us what you want to mine, your electricity cost and where the machine will run. We can help you compare hardware, power requirements, hosting and repairs.
Contact our mining team
Browse ASIC miners