BITCOIND(1)

πŸ’– bitcoind πŸ’–

hey bestie!! you just pulled up the manual page for bitcoind, living in the User Commands section of your friendly neighbourhood manual. No cap, it's a long one β€” so grab a snack πŸ“, we're going through every single option together, one by one. Zero skipping. Let's gooo ✨


🌸 NAME 🌸

bitcoind β€” manual page for bitcoind v31.1.0 πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

bitcoind [options]

✨ DESCRIPTION ✨

So, <pink>Bitcoin Core daemon version v31.1.0</pink> β€” that's bitcoind. That's the whole vibe. 😌

The Bitcoin Core daemon (bitcoind) is a headless program, meaning it has no pretty window, no buttons, no little tray icon β€” it just works. It connects to the Bitcoin network to validate and relay transactions and blocks, and it relays addresses too. It's literally the moment.

It provides the backbone of the Bitcoin network 🫢, and its RPC, REST and ZMQ services can serve up a whole menu of transaction, block and address-related services. Iconic.

There's also an optional wallet component that provides transaction services β€” like, if you want it, it's there. πŸŽ€

You can run it in a headless environment, or as part of a server setup. Both? Both. It ate. πŸ”₯


πŸŽ€ OPTIONS πŸŽ€

Okay this is the big one. Every option, right here, no gatekeeping. πŸ’–
  • -alertnotify=<cmd> β€” Execute command when an alert is raised. (%s in cmd is replaced by message) β€” yes, the placeholder is literally %s, don't @ me.
  • -allowignoredconf β€” For backwards compatibility, treat an unused bitcoin.conf file in the datadir as a warning, not an error. Graceful queen behaviour. πŸ•ŠοΈ
  • -assumevalid=<hex> β€” If this block is in the chain, assume that it and its ancestors are valid and potentially skip their script verification (0 to verify all). The defaults are:
    • default: 00000000000000000000ccebd6d74d9194d8dcdc1d177c478e094bfad51ba5ac
    • testnet3: 000000007a61e4230b28ac5cb6b5e5a0130de37ac1faf2f8987d2fa6505b67f4
    • testnet4: 0000000002368b1e4ee27e2e85676ae6f9f9e69579b29093e9a82c170bf7cf8a
    • signet: 00000008414aab61092ef93f1aacc54cf9e9f16af29ddad493b908a01ff5c329
  • -blockfilterindex=<type> β€” Maintain an index of compact filters by block (default: 0, values: basic). If <type> is not supplied, or if <type> = 1, indexes for all known types are enabled. Slay, indecisive-friendly. πŸ’…
  • -blocknotify=<cmd> β€” Execute command when the best block changes (%s in cmd is replaced by block hash). πŸ“¦
  • -blockreconstructionextratxn=<n> β€” Extra transactions to keep in memory for compact block reconstructions (default: 100).
  • -blocksdir=<dir> β€” Specify directory to hold blocks subdirectory for *.dat files (default: <datadir>).
  • -blocksonly β€” Whether to reject transactions from network peers. Disables automatic broadcast and rebroadcast of transactions, unless the source peer has the 'forcerelay' permission. RPC transactions are not affected. (default: 0)
  • -blocksxor β€” Whether an XOR-key applies to blocksdir *.dat files. The created XOR-key will be zeros for an existing blocksdir or when -blocksxor=0 is set, and random for a freshly initialized blocksdir. (default: 1) πŸ”
  • -coinstatsindex β€” Maintain coinstats index used by the gettxoutsetinfo RPC (default: 0).
  • -conf=<file> β€” Specify path to read-only configuration file. Relative paths will be prefixed by datadir location (only useable from command line, not configuration file) (default: bitcoin.conf).
  • -daemon β€” Run in the background as a daemon and accept commands (default: 0). Main character energy, but in the shadows. πŸŒ™
  • -daemonwait β€” Wait for initialization to be finished before exiting. This implies -daemon (default: 0).
  • -datadir=<dir> β€” Specify data directory. πŸ—‚οΈ
  • -dbcache=<n> β€” Maximum database cache size <n> MiB (minimum 4, default: 1024). Make sure you have enough RAM!! In addition, unused memory allocated to the mempool is shared with this cache (see -maxmempool).
  • -debuglogfile=<file> β€” Specify location of debug log file (default: debug.log). Relative paths will be prefixed by a net-specific datadir location. Pass -nodebuglogfile to disable writing the log to a file.
  • -help β€” Print this help message and exit (also -h or -?). πŸ†˜
  • -includeconf=<file> β€” Specify additional configuration file, relative to the -datadir path (only useable from configuration file, not command line).
  • -loadblock=<file> β€” Imports blocks from external file on startup.
  • -maxmempool=<n> β€” Keep the transaction memory pool below <n> megabytes (default: 300).
  • -mempoolexpiry=<n> β€” Do not keep transactions in the mempool longer than <n> hours (default: 336). It's giving expiration date. ⏳
  • -par=<n> β€” Set the number of script verification threads (0 = auto, up to 15, <0 = leave that many cores free, default: 0).
  • -persistmempool β€” Whether to save the mempool on shutdown and load on restart (default: 1).
  • -persistmempoolv1 β€” Whether a mempool.dat file created by -persistmempool or the savemempool RPC will be written in the legacy format (version 1) or the current format (version 2). This temporary option will be removed in the future. (default: 0)
  • -pid=<file> β€” Specify pid file. Relative paths will be prefixed by a net-specific datadir location. (default: bitcoind.pid)
  • -prune=<n> β€” Reduce storage requirements by enabling pruning (deleting) of old blocks. This allows the pruneblockchain RPC to be called to delete specific blocks, and enables automatic pruning of old blocks if a target size in MiB is provided. This mode is incompatible with -txindex.
⚠️ Warning: Reverting this setting requires re-downloading the entire blockchain. 😭

(default: 0 = disable pruning blocks, 1 = allow manual pruning via RPC, >=550 = automatically prune block files to stay under the specified target size in MiB)

  • -reindex β€” If enabled, wipe chain state and block index, and rebuild them from blk*.dat files on disk. Also wipe and rebuild other optional indexes that are active. If an assumeutxo snapshot was loaded, its chainstate will be wiped as well. The snapshot can then be reloaded via RPC. 🧹
  • -reindex-chainstate β€” If enabled, wipe chain state, and rebuild it from blk*.dat files on disk. If an assumeutxo snapshot was loaded, its chainstate will be wiped as well. The snapshot can then be reloaded via RPC.
  • -settings=<file> β€” Specify path to dynamic settings data file. Can be disabled with -nosettings. File is written at runtime and not meant to be edited by users (use bitcoin.conf instead for custom settings). Relative paths will be prefixed by datadir location. (default: settings.json)
  • -shutdownnotify=<cmd> β€” Execute command immediately before beginning shutdown. The need for shutdown may be urgent, so be careful not to delay it long (if the command doesn't require interaction with the server, consider having it fork into the background).
  • -startupnotify=<cmd> β€” Execute command on startup. πŸš€
  • -txindex β€” Maintain a full transaction index, used by the getrawtransaction rpc call (default: 0).
  • -txospenderindex β€” Maintain a transaction output spender index, used by the gettxspendingprevout rpc call (default: 0).
  • -version β€” Print version and exit. πŸ‘‘

🌐 Connection options 🌐

the networking chapter, bestie β€” buckle up πŸ¦‹

  • -addnode=<ip> β€” Add a node to connect to and attempt to keep the connection open (see the addnode RPC help for more info). This option can be specified multiple times to add multiple nodes; connections are limited to 8 at a time and are counted separately from the -maxconnections limit.
  • -asmap=<file> β€” Specify asn mapping used for bucketing of the peers. Relative paths will be prefixed by the net-specific datadir location. If a bool arg is given (-asmap or -asmap=1), the embedded mapping data in the binary will be used. πŸ—ΊοΈ
  • -bantime=<n> β€” Default duration (in seconds) of manually configured bans (default: 86400). Bye bestie πŸ‘‹
  • -bind=<addr>[:<port>][=onion] β€” Bind to given address and always listen on it (default: 0.0.0.0). Use [host]:port notation for IPv6. Append =onion to tag any incoming connections to that address and port as incoming Tor connections (default: 127.0.0.1:8334=onion, testnet3: 127.0.0.1:18334=onion, testnet4: 127.0.0.1:48334=onion, signet: 127.0.0.1:38334=onion, regtest: 127.0.0.1:18445=onion)
  • -cjdnsreachable β€” If set, then this host is configured for CJDNS (connecting to fc00::/8 addresses would lead us to the CJDNS network, see doc/cjdns.md) (default: 0).
  • -connect=<ip> β€” Connect only to the specified node; -noconnect disables automatic connections (the rules for this peer are the same as for -addnode). This option can be specified multiple times to connect to multiple nodes. Exclusive much? πŸ’…
  • -discover β€” Discover own IP addresses (default: 1 when listening and no -externalip or -proxy).
  • -dns β€” Allow DNS lookups for -addnode, -seednode and -connect (default: 1).
  • -dnsseed β€” Query for peer addresses via DNS lookup, if low on addresses (default: 1 unless -connect used or -maxconnections=0).
  • -externalip=<ip> β€” Specify your own public address. πŸ“’
  • -fixedseeds β€” Allow fixed seeds if DNS seeds don't provide peers (default: 1).
  • -forcednsseed β€” Always query for peer addresses via DNS lookup (default: 0).
  • -i2pacceptincoming β€” Whether to accept inbound I2P connections (default: 1). Ignored if -i2psam is not set. Listening for inbound I2P connections is done through the SAM proxy, not by binding to a local address and port.
  • -i2psam=<ip:port> β€” I2P SAM proxy to reach I2P peers and accept I2P connections.
  • -listen β€” Accept connections from outside (default: 1 if no -proxy, -connect or -maxconnections=0).
  • -listenonion β€” Automatically create Tor onion service (default: 1). πŸ§… iconic.
  • -maxconnections=<n> β€” Maintain at most <n> automatic connections to peers (default: 125). This limit does not apply to connections manually added via -addnode or the addnode RPC, which have a separate limit of 8. It does not apply to short-lived private broadcast connections either, which have a separate limit of 64.
  • -maxreceivebuffer=<n> β€” Maximum per-connection receive buffer, <n>*1000 bytes (default: 5000).
  • -maxsendbuffer=<n> β€” Maximum per-connection memory usage for the send buffer, <n>*1000 bytes (default: 1000).
  • -maxuploadtarget=<n> β€” (bestie this one's literally mid-sentence, the rest is coming in the next part β€” don't worry, we're not skipping it πŸ’€πŸ«Ά)

okay that's the first chunk!! πŸŽ€ more options are waiting and we are NOT leaving them unread β€” next part, same energy, let's go ✨

…and to wrap up that last one: it tries to keep outbound traffic under the given target per 24h. Limit does not apply to peers with 'download' permission or blocks created within past week. 0 = no limit (default: 0M). Optional suffix units [k|K|m|M|g|G|t|T] (default: M). Lowercase is 1000 base while uppercase is 1024 base β€” yes bestie, the case of the letter literally matters, don't come for me.

  • -natpmp β€” uses PCP or NAT-PMP to map the listening port for u (default: 1). Port forwarding but make it effortless πŸ’…
  • -networkactive β€” turn all P2P network activity on (default: 1). You can flip it later with the setnetworkactive RPC command, so it's not a forever decision πŸ¦‹
  • -onion=<ip:port|path> β€” route to peers over Tor onion services through a separate</> SOCKS5 proxy. Set -noonion to kill it entirely (default: -proxy). It can also be a local file path prefixed with 'unix:'. ✨
  • -onlynet=<net> β€” makes automatic outbound connections go only to network <net> (options: ipv4, ipv6, onion, i2p, cjdns). Inbound and manual connections are NOT affected by this, so don't stress. Specify it multiple times if u want multiple networks allowed 🫢
  • -peerblockfilters β€” serve compact block filters to peers per BIP 157 (default: 0)
  • -peerbloomfilters β€” support filtering of blocks and transaction with bloom filters (default: 0)
  • -port=<port> β€” listen for connections on <port> (default: 8333, testnet3: 18333, testnet4: 48333, signet: 38333, regtest: 18444). Not relevant for I2P (peep doc/i2p.md for that lore). If you set it to a value x, the default onion listening port becomes x+1 β€” sneaky little +1, iconic 🌸
  • -proxy=<ip>[:<port>]|unix:<path>[=<network>] β€” connect through a SOCKS5 proxy, and set -noproxy to disable. It can be a local file path prefixed with 'unix:' if the proxy supports it. It could end in =network to set the proxy only for that one network, where the network can be any of ipv4, ipv6, tor or cjdns. (default: disabled)
  • -proxyrandomize β€” randomize credentials for every proxy connection. This is what enables Tor stream isolation, bestie (default: 1) 🧚
  • -seednode=<ip> β€” connect to a node to retrieve peer addresses, then disconnect. Can be specified multiple times to hit up multiple nodes. During startup, seednodes will be tried before dnsseeds. Priorities, fr fr πŸ’…
  • -timeout=<n> β€” socket connection timeout in milliseconds. If an initial attempt to connect is still not it after this long, drop it (minimum: 1, default: 5000) πŸ’€
  • -torcontrol=<ip>:<port> β€” the Tor control host and port to use if onion listening is enabled (default: 127.0.0.1:9051). No port given? The default port of 9051 gets used anyway, no worries πŸŽ€
  • -torpassword=<pass> β€” Tor control port password (default: empty)
  • -v2transport β€” support v2 transport (default: 1) πŸ¦‹
  • -whitebind=<[permissions@]addr> β€” bind to the given address and hand out permission flags to the peers connecting to it. Use [host]:port notation for IPv6. The allowed permissions are:
    • bloomfilter β€” allow requesting BIP37 filtered blocks and transactions
    • noban β€” do not ban for misbehavior; implies download
    • forcerelay β€” relay transactions that are already in the mempool; implies relay
    • relay β€” relay even in -blocksonly mode, and unlimited transaction announcements
    • mempool β€” allow requesting BIP35 mempool contents
    • download β€” allow getheaders during IBD, no disconnect after maxuploadtarget limit
    • addr β€” responses to GETADDR avoid hitting the cache and contain random records with the most up-to-date info

Specify multiple permissions separated by commas (default: download,noban,mempool,relay). Can be specified multiple times πŸ‘‘

  • -whitelist=<[permissions@]IP address or network> β€” add permission flags to the peers using the given IP address (e.g. 1.2.3.4) or CIDR-notated network (e.g. 1.2.3.0/24). Uses the exact same permissions as -whitebind. Bonus flags "in" and "out" control whether permissions apply to incoming connections and/or manual ones (default: incoming only). Can be specified multiple times πŸ’–

πŸ’– Wallet options πŸ’–

  • -addresstype β€” what type of addresses to use ("legacy", "p2sh-segwit", "bech32", "bech32m", default: "bech32") πŸ’…
  • -avoidpartialspends β€” group outputs by address, then select many (possibly all) or none, instead of picking per-output. Privacy goes up because addresses get mostly swept with fewer transactions and outputs aggregate into clean change addresses ✨ But heads up: it may result in higher fees, since the added limitation makes coin selection less optimal and you might end up using a larger-than-necessary number of inputs. Always enabled for wallets with "avoid_reuse" enabled, otherwise default: 0.
  • -changetype β€” what type of change to use ("legacy", "p2sh-segwit", "bech32", "bech32m"). Default is "legacy" when -addresstype=legacy, otherwise it's an implementation detail. Mysterious. We love a secretive queen πŸŽ€
  • -consolidatefeerate=<amt> β€” the maximum feerate (in BTC/kvB) at which transaction building may use more inputs than strictly necessary, so the wallet's UTXO pool can shrink (default: 0.0001)
  • -disablewallet β€” do not load the wallet and disable wallet RPC calls 🚫
  • -discardfee=<amt> β€” the fee rate (in BTC/kvB) that tells us your tolerance for discarding change by adding it to the fee (default: 0.0001). Note: an output is discarded if it is dust at this rate, but we will always discard up to the dust relay fee, and a discard fee above that is limited by the fee estimate for the longest target. Complicated? Yes. Important? Also yes 😭
  • -fallbackfee=<amt> β€” a fee rate (in BTC/kvB) used when fee estimation has insufficient data. Set 0 to entirely disable the fallbackfee feature. (default: 0.00)
  • -keypool=<n> β€” set key pool size to <n> (default: 1000). Warning: smaller sizes may increase the risk of losing funds when restoring from an old backup, if none of the addresses in the original keypool have been used. Protect ur coins, bestie πŸ™ˆ
  • -maxapsfee=<n> β€” spend up to this amount in additional (absolute) fees (in BTC) if it allows the use of partial spend avoidance (default: 0.00)
  • -mintxfee=<amt> β€” fee rates (in BTC/kvB) smaller than this are considered zero fee for transaction creation (default: 0.00001)
  • -signer=<cmd> β€” external signing tool, see doc/external-signer.md ✍️
  • -spendzeroconfchange β€” spend unconfirmed change when sending transactions (default: 1)
  • -txconfirmtarget=<n> β€” include enough fee so transactions begin confirmation on average within n blocks (default: 6)
  • -wallet=<path> β€” specify the wallet path to load at startup. Can be used multiple times to load multiple wallets. The path is to a directory containing wallet data and log files. If the path isn't absolute, it's interpreted relative to <walletdir>. This only loads existing wallets and does not create new ones. For backwards compatibility it also accepts names of existing top-level data files in <walletdir>. 🫢
  • -walletbroadcast β€” make the wallet broadcast transactions (default: 1)
  • -walletdir=<dir> β€” specify the directory to hold wallets (default: <datadir>/wallets if it exists, otherwise <datadir>)
  • -walletnotify=<cmd> β€” execute a command when a wallet transaction changes. In cmd, %s is replaced by TxID, %w is replaced by wallet name, %b is replaced by the hash of the block including the transaction (set to 'unconfirmed' if the transaction isn't included), and %h is replaced by the block height (-1 if not included). %w is not currently implemented on windows. On systems where %w is supported, it should NOT be quoted, because that would break the shell escaping used to invoke the command. Noted πŸ“
  • -walletrbf β€” send transactions with full-RBF opt-in enabled (RPC only, default: 1)

🌈 ZeroMQ notification options 🌈

  • -zmqpubhashblock=<address> β€” enable publish hash block in <address>
  • -zmqpubhashblockhwm=<n> β€” set publish hash block outbound message high water mark (default: 1000)
  • -zmqpubhashtx=<address> β€” enable publish hash transaction in <address>
  • -zmqpubhashtxhwm=<n> β€” set publish hash transaction outbound message high water mark (default: 1000)
  • -zmqpubrawblock=<address> β€” enable publish raw block in <address>
  • -zmqpubrawblockhwm=<n> β€” set publish raw block outbound message high water mark (default: 1000)
  • -zmqpubrawtx=<address> β€” enable publish raw transaction in <address>
  • -zmqpubrawtxhwm=<n> β€” set publish raw transaction outbound message high water mark (default: 1000)
  • -zmqpubsequence=<address> β€” enable publish hash block and tx sequence in <address>
  • -zmqpubsequencehwm=<n> β€” set publish hash sequence message high water mark (default: 1000)

πŸ› Debugging/Testing options πŸ›

  • -debug=<category> β€” output debug and trace logging (default: -nodebug, and supplying <category> is optional). If <category> isn't supplied, or if it's 1 or "all", output all debug logging. If <category> is 0 or "none", any other categories are ignored. Other valid values for <category> are: addrman, bench, blockstorage, cmpctblock, coindb, estimatefee, http, i2p, ipc, kernel, leveldb, libevent, mempool, mempoolrej, net, privatebroadcast, proxy, prune, qt, rand, reindex, rpc, scan, selectcoins, tor, txpackages, txreconciliation, validation, walletdb, zmq. This option can be specified multiple times to output multiple categories πŸ’…
  • -debugexclude=<category> β€” exclude debug and trace logging for a category. Can be used together with -debug=1 to output debug and trace logging for all categories except the specified one. Can be specified multiple times to exclude multiple categories. This takes priority over "-debug" β€” it wins, periodt πŸ‘‘
  • -help-debug β€” print help message with debugging options and exit
  • -logips β€” include IP addresses in log output (default: 0)
  • -loglevelalways β€” always prepend a category and level (default: 0)
  • -logsourcelocations β€” prepend debug output with the name of the originating source location (source file, line number and function name) (default: 0)
  • -logthreadnames β€” prepend debug output with the name of the originating thread (default: 0)
  • -logtimestamps
  • (carrying straight on from the option above β€” the source chopped its name off mid-sentence, so bestie gets the facts and no label) β€” Prepend debug output with timestamp (default: 1)
  • -maxtxfee=<amt> β€” Max total fees (in BTC) you're willing to burn on a single wallet transaction. Set it too low and big transactions will just ✨abort✨ on you (default: 0.10). Careful with this one.
  • -printtoconsole β€” Send trace/debug info to the console instead (default: 1 when there's no -daemon). Wanna kill logging-to-file entirely? Set -nodebuglogfile, that's the move πŸ’…
  • -shrinkdebugfile β€” Shrink that debug.log file on client startup (default: 1 when -debug isn't set)
  • -uacomment=<cmt> β€” Append a comment onto the user agent string 🏷️

🌈 Chain selection options 🌈

  • -chain=<chain> β€” Use the chain <chain> (default: main). Allowed values: main, test, testnet4, signet, regtest
  • -signet β€” Use the signet chain. Same thing as -chain=signet. Note that the network is defined by the -signetchallenge parameter πŸ‘‘
  • -signetchallenge β€” Blocks have to satisfy the given script to count as valid (only for signet networks; defaults to the global default signet test network challenge)
  • -signetseednode β€” Specify a seed node for the signet network, in the hostname[:port] format, e.g. sig.net:1234 (may be used multiple times to specify multiple seed nodes; defaults to the global default signet test network seed node(s))
  • -testnet β€” Use the testnet3 chain. Same as -chain=test. Support for testnet3 is deprecated and will be removed in an upcoming release. Consider moving to testnet4 now by using -testnet4 🚚
  • -testnet4 β€” Use the testnet4 chain. Same as -chain=testnet4 πŸ’–

πŸ¦‹ Node relay options πŸ¦‹

  • -bytespersigop β€” Equivalent bytes per sigop in transactions, for relay and mining (default: 20)
  • -datacarrier β€” Relay and mine data carrier transactions (default: 1)
  • -datacarriersize β€” Relay and mine transactions whose data-carrying raw scriptPubKeys, in aggregate, are this size or less β€” multiple outputs allowed, no cap on count (default: 100000)
  • -minrelaytxfee=<amt> β€” Fees (in BTC/kvB) smaller than this get treated as zero fee for relaying, mining and transaction creation (default: 0.000001)
  • -permitbaremultisig β€” Relay transactions that create non-P2SH multisig outputs (default: 1)
  • -privatebroadcast β€” Broadcast transactions submitted via the sendrawtransaction RPC using short-lived connections through the Tor or I2P networks, without putting them in the mempool first. Transactions submitted through the wallet are not affected by this option (default: 0)
  • -whitelistforcerelay β€” Add 'forcerelay' permission to whitelisted peers that have default permissions. This relays transactions even if they were already in the mempool (default: 0)
  • -whitelistrelay β€” Add 'relay' permission to whitelisted peers that have default permissions. This accepts relayed transactions even when you're not relaying transactions (default: 1)

πŸ’Ž Block creation options πŸ’Ž

  • -blockmintxfee=<amt> β€” Set the lowest fee rate (in BTC/kvB) for transactions to be included in block creation (default: 0.00000001)
  • -blockreservedweight=<n> β€” Reserve space for the fixed-size block header plus the largest coinbase transaction the mining software may add to the block. Only affects mining RPC clients, not IPC clients (default: 8000).

πŸ‘‘ RPC server options πŸ‘‘

  • -rest β€” Accept public REST requests (default: 0)
  • -rpcallowip=<ip> β€” Allow JSON-RPC connections from a specified source. Valid values for <ip> are a single IP (e.g. 1.2.3.4), a network/netmask (e.g. 1.2.3.4/255.255.255.0), a network/CIDR (e.g. 1.2.3.4/24), all ipv4 (0.0.0.0/0), or all ipv6 (::/0). RFC4193 is allowed only if -cjdnsreachable=0. This option can be specified multiple times
  • -rpcauth=<userpw> β€” Username and HMAC-SHA-256 hashed password for JSON-RPC connections. The <userpw> field comes in the format: <USERNAME>:<SALT>$<HASH>. A canonical python script is included in share/rpcauth. The client then connects normally using the rpcuser=<USERNAME>/rpcpassword=<PASSWORD> pair of arguments. This option can be specified multiple times
  • -rpcbind=<addr>[:port] β€” Bind to the given address to listen for JSON-RPC connections.
Do NOT expose the RPC server to untrusted networks such as the public internet! 🚨

This option is ignored unless -rpcallowip is also passed. Port is optional and overrides -rpcport. Use [host]:port notation for IPv6. This option can be specified multiple times (default: 127.0.0.1 and ::1, i.e., localhost)

  • -rpccookiefile=<loc> β€” Location of the auth cookie. Relative paths get prefixed by a net-specific datadir location (default: data dir)
  • -rpccookieperms=<readable-by> β€” Set permissions on the RPC auth cookie file so it's readable by [owner|group|all] (default: owner [via umask 0077])
  • -rpcpassword=<pw> β€” Password for JSON-RPC connections
  • -rpcport=<port> β€” Listen for JSON-RPC connections on <port> (default: 8332, testnet3: 18332, testnet4: 48332, signet: 38332, regtest: 18443)
  • -rpcthreads=<n> β€” Set the number of threads servicing RPC calls (default: 16)
  • -rpcuser=<user> β€” Username for JSON-RPC connections
  • -rpcwhitelist=<whitelist> β€” Set a whitelist to filter incoming RPC calls for a specific user. The <whitelist> field comes in the format: <USERNAME>:<rpc 1>,<rpc 2>,...,<rpc n>. If multiple whitelists are set for a given user, they get set-intersected. See the -rpcwhitelistdefault documentation for info on default whitelist behavior πŸ”
  • -rpcwhitelistdefault β€” Sets the default behavior for rpc whitelisting. Unless rpcwhitelistdefault is set to 0, if any -rpcwhitelist is set, the rpc server acts as if all rpc users are subject to empty-unless-otherwise-specified whitelists. If rpcwhitelistdefault is set to 1 and no -rpcwhitelist is set, the rpc server acts as if all rpc users are subject to empty whitelists.
  • -server β€” Accept command line and JSON-RPC commands

Copyright (C) 2009-2026 The Bitcoin Core developers

Please contribute if you find Bitcoin Core useful. Visit https://bitcoincore.org/ for further information about the software. The source code is available from https://github.com/bitcoin/bitcoin 🫢

This is experimental software. Distributed under the MIT software license, see the accompanying file COPYING or https://opensource.org/license/MIT


⭐ SEE ALSO ⭐

bitcoin(1), bitcoind(1), bitcoin-cli(1), bitcoin-tx(1), bitcoin-wallet(1), bitcoin-util(1), bitcoin-qt(1)


and that's the whole page, bestie, you made it all the way to the end πŸŽ€ This one's from bitcoind v31.1.0, dated July 2026, and it lives under the name BITCOIND(1). go run something iconic with it πŸ’…βœ¨

πŸ“¦ where this page comes from