Inside Bitcoin
Opening the selected file…
Inside Bitcoin
Opening the selected file…
The code behind the network, with room to understand it.
Release published 2026-10-28 · Snapshot fetched 2026-11-01. Latest stable release at fetch time; development branches and Git history are excluded. Only the selected code window and visible folders load here.
501#zmqpubsequencehwm=<n>504### Debugging/Testing options507# Output debug and trace logging (default: -nodebug, supplying <category>508# is optional). If <category> is not supplied or if <category> is 1509# or "all", output all debug logging. If <category> is 0 or "none",510# any other categories are ignored. Other valid values for511# <category> are: addrman, bench, blockstorage, cmpctblock, coindb,512# estimatefee, http, i2p, ipc, kernel, leveldb, mempool,513# mempoolrej, mining, net, privatebroadcast, proxy, prune, qt,514# rand, reindex, rpc, scan, selectcoins, tor, txpackages,515# txreconciliation, validation, walletdb, zmq. This option can be516# specified multiple times to output multiple categories.517#debug=<category>519# Exclude debug and trace logging for a category. Can be used in520# conjunction with -debug=1 to output debug and trace logging for521# all categories except the specified category. This option can be522# specified multiple times to exclude multiple categories. This523# takes priority over "-debug"524#debugexclude=<category>526# Include IP addresses in log output (default: 0)527#logips=1529# Always prepend a category and level (default: 0)530#loglevelalways=1532# Apply rate limiting to unconditional logging to mitigate disk-filling533# attacks (default: 1)534#logratelimit=1536# Prepend debug output with name of the originating source location537# (source file, line number and function name) (default: 0)538#logsourcelocations=1540# Prepend debug output with name of the originating thread (default: 0)541#logthreadnames=1543# Prepend debug output with timestamp (default: 1)544#logtimestamps=1546# Maximum total fees (in BTC) to use in a single wallet transaction;547# setting this too low may abort large transactions (default: 0.10)548#maxtxfee=<amt>550# Send trace/debug info to console (default: 1 when no -daemon. To disable551# logging to file, set -nodebuglogfile)552#printtoconsole=1554# Shrink debug log file on client startup (default: 1 when no -debug)555#shrinkdebugfile=1557# Append comment to the user agent string558#uacomment=<cmt>561### Chain selection options564# Use the chain <chain> (default: main). Allowed values: main, test,565# testnet4, signet, regtest566#chain=<chain>568# Use the signet chain. Equivalent to -chain=signet. Note that the network569# is defined by the -signetchallenge parameter570#signet=1572# Blocks must satisfy the given script to be considered valid (only for573# signet networks; defaults to the global default signet test574# network challenge)575#signetchallenge=1577# Specify a seed node for the signet network, in the hostname[:port]578# format, e.g. sig.net:1234 (may be used multiple times to specify579# multiple seed nodes; defaults to the global default signet test580# network seed node(s))581#signetseednode=1583# Use the testnet3 chain. Equivalent to -chain=test. Support for testnet3584# is deprecated and will be removed in an upcoming release.585# Consider moving to testnet4 now by using -testnet4.586#testnet=1588# Use the testnet4 chain. Equivalent to -chain=testnet4.589#testnet4=1592### Node relay options595# Equivalent bytes per sigop in transactions for relay and mining596# (default: 20)597#bytespersigop=1599# Relay and mine data carrier transactions (default: 1)600#datacarrier=1602# Relay and mine transactions whose data-carrying raw scriptPubKeys in603# aggregate are of this size or less, allowing multiple outputs604# (default: 100000)605#datacarriersize=1607# Fees (in BTC/kvB) smaller than this are considered zero fee for608# relaying, mining and transaction creation (default: 0.000001)609#minrelaytxfee=<amt>611# Relay transactions creating non-P2SH multisig outputs (default: 1)612#permitbaremultisig=1614# EXPERIMENTAL: Broadcast transactions submitted via sendrawtransaction615# RPC using short-lived connections through the Tor or I2P616# networks, without putting them in the mempool first. This617# provides best-effort concealment of the transaction's origin.618# Transactions submitted through the wallet are not affected by619# this option (default: 0)620#privatebroadcast=1622# Add 'forcerelay' permission to whitelisted peers with default623# permissions. This will relay transactions even if the624# transactions were already in the mempool. (default: 0)625#whitelistforcerelay=1627# Add 'relay' permission to whitelisted peers with default permissions.628# This will accept relayed transactions even when not relaying629# transactions (default: 1)630#whitelistrelay=1633### Block creation options636# Set lowest fee rate (in BTC/kvB) for transactions to be included in637# block creation. (default: 0.00000001)638#blockmintxfee=<amt>640# Reserve space for the fixed-size block header plus the largest coinbase641# transaction the mining software may add to the block. Only642# affects mining RPC clients, not IPC clients. (default: 8000).643#blockreservedweight=<n>646### RPC server options649# Accept public REST requests (default: 0)650#rest=1652# Allow JSON-RPC connections from specified source. Valid values for <ip>653# are a single IP (e.g. 1.2.3.4), a network/netmask (e.g.654# 1.2.3.4/255.255.255.0), a network/CIDR (e.g. 1.2.3.4/24), all655# ipv4 (0.0.0.0/0), or all ipv6 (::/0). RFC4193 is allowed only if656# -cjdnsreachable=0. This option can be specified multiple times657#rpcallowip=<ip>659# Username and HMAC-SHA-256 hashed password for JSON-RPC connections. The660# field <userpw> comes in the format: <USERNAME>:<SALT>$<HASH>. A661# canonical python script is included in share/rpcauth. The client662# then connects normally using the663# rpcuser=<USERNAME>/rpcpassword=<PASSWORD> pair of arguments. This664# option can be specified multiple times665#rpcauth=<userpw>667# Bind to given address to listen for JSON-RPC connections. Do not expose668# the RPC server to untrusted networks such as the public internet!669# This option is ignored unless -rpcallowip is also passed. Port is670# optional and overrides -rpcport. Use [host]:port notation for671# IPv6. This option can be specified multiple times (default:672# 127.0.0.1 and ::1 i.e., localhost)673#rpcbind=<addr>[:port]675# Location of the auth cookie. Relative paths will be prefixed by a676# net-specific datadir location. (default: data dir)677#rpccookiefile=<loc>679# Set permissions on the RPC auth cookie file so that it is readable by680# [owner|group|all] (default: owner [via umask 0077])681#rpccookieperms=<readable-by>683# The maximum number of connected HTTP clients (default: 16)684#rpcmaxconnections=<n>686# Password for JSON-RPC connections687#rpcpassword=<pw>689# Listen for JSON-RPC connections on <port> (default: 8332, testnet3:690# 18332, testnet4: 48332, signet: 38332, regtest: 18443)691#rpcport=<port>693# Set the number of threads to service RPC calls (default: 16)694#rpcthreads=<n>696# Username for JSON-RPC connections697#rpcuser=<user>699# Set a whitelist to filter incoming RPC calls for a specific user. The700# field <whitelist> comes in the format: <USERNAME>:<rpc 1>,<rpc701# 2>,...,<rpc n>. If multiple whitelists are set for a given user,702# they are set-intersected. See -rpcwhitelistdefault documentation703# for information on default whitelist behavior.704#rpcwhitelist=<whitelist>706# Sets default behavior for rpc whitelisting. Unless rpcwhitelistdefault707# is set to 0, if any -rpcwhitelist is set, the rpc server acts as708# if all rpc users are subject to empty-unless-otherwise-specified709# whitelists. If rpcwhitelistdefault is set to 1 and no710# -rpcwhitelist is set, rpc server acts as if all rpc users are711# subject to empty whitelists.712#rpcwhitelistdefault=1714# Accept command line and JSON-RPC commands715#server=1718# [Sections]719# Most options will apply to all networks. To confine an option to a specific720# network, add it under the relevant section below.721#722# Note: If not specified under a network section, the options addnode, connect,723# port, bind, rpcport, rpcbind, and wallet will only apply to mainnet.725# Options for mainnet726[main]728# Options for testnet3729[test]731# Options for testnet4732[testnet4]734# Options for signet735[signet]737# Options for regtest738[regtest]
Independent explanations by MyBitcoinExplorer. Not affiliated with or endorsed by Bitcoin Core. Guides are educational and do not replace the source or its tests.
Bitcoin Core source © its contributors, distributed under the MIT license. Original notices and bundled third-party licenses are retained in the source tree.