BITCOIN-QT(1)
πΈ NAME πΈ
bitcoin-qt(1) is the User Commands manual page for bitcoin-qt v0.21.2.0. That's the vibe: Qt wallet app, command-line flag buffet, every single option coming at you. π
β¨ SYNOPSIS β¨
bitcoin-qt [command-line options]
π DESCRIPTION π
Bitcoin Core version v0.21.2.0.
That's literally the whole description, bestie. Minimal. Iconic. Periodt. π
π OPTIONS π
okay so deep breath β this is the big list. Every flag is here, no skips, no cap. π«Ά
-?β print this help message and exit.-alertnotify=<cmd>β execute command when a relevant alert is received or when we see a really long fork (%sincmdis replaced by message). π¨-assumevalid=<hex>β if this block is in the chain, assume that it and its ancestors are valid and potentially skip their script verification (0to verify all, default:0000000000000000000b9d2ec5a352ecba0592946514a92f14319dc2b367fc72, testnet:000000000000006433d1efec504c53ca332b64963c425395515b01977bd7b3b0, signet:0000002a1de0f46379358c1fd09906f7ac59adf3712323ed90eb59e4c183c020).-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.-blocknotify=<cmd>β execute command when the best block changes (%sincmdis 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*.datfiles (default:<datadir>).-blocksonlyβ whether to reject transactions from network peers. Automatic broadcast and rebroadcast of any transactions from inbound peers is disabled, unless the peer has the'forcerelay'permission. RPC transactions are not affected. (default:0)-conf=<file>β specify path to read-only configuration file. Relative paths will be prefixed by datadir location. (default:bitcoin.conf)-daemonβ run in the background as a daemon and accept commands.-datadir=<dir>β specify data directory.-dbcache=<n>β maximum database cache size<n>MiB (4to16384, default:450). In addition, unused mempool memory is shared for this cache (see-maxmempool).-debuglogfile=<file>β specify location of debug log file. Relative paths will be prefixed by a net-specific datadir location. (-nodebuglogfileto disable; default:debug.log)-includeconf=<file>β specify additional configuration file, relative to the-datadirpath (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).-maxorphantx=<n>β keep at most<n>unconnectable transactions in memory (default:100).-mempoolexpiry=<n>β do not keep transactions in the mempool longer than<n>hours (default:336).-par=<n>β set the number of script verification threads (-6to15,0= auto,<0= leave that many cores free, default:0).-persistmempoolβ whether to save the mempool on shutdown and load on restart (default:1).-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 thepruneblockchainRPC 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-txindexand-rescan. 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β rebuild chain state and block index from theblk*.datfiles on disk.-reindex-chainstateβ rebuild chain state from the currently indexed blocks. When in pruning mode or if blocks on disk might be corrupted, use full-reindexinstead.-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 (usebitcoin.confinstead for custom settings). Relative paths will be prefixed by datadir location. (default:settings.json)-startupnotify=<cmd>β execute command on startup.-syspermsβ create new files with system default permissions, instead ofumask 077(only effective with disabled wallet functionality).-txindexβ maintain a full transaction index, used by thegetrawtransactionrpc call (default:0).-versionβ print version and exit.
π Connection options π
networking era, bestie. This is where the node learns who to talk to and how. π
-addnode=<ip>β add a node to connect to and attempt to keep the connection open (see theaddnodeRPC command help for more info). This option can be specified multiple times to add multiple nodes.-asmap=<file>β specify asn mapping used for bucketing of the peers (default:ip_asn.map). Relative paths will be prefixed by the net-specific datadir location.-bantime=<n>β default duration (in seconds) of manually configured bans (default:86400).-bind=<addr>[:<port>][=onion]β bind to given address and always listen on it (default:0.0.0.0). Use[host]:portnotation for IPv6. Append=onionto tag any incoming connections to that address and port as incoming Tor connections (default:127.0.0.1:8334=onion, testnet:127.0.0.1:18334=onion, signet:127.0.0.1:38334=onion, regtest:127.0.0.1:18445=onion).-connect=<ip>β connect only to the specified node;-noconnectdisables 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.-discoverβ discover own IP addresses (default:1when listening and no-externalipor-proxy).-dnsβ allow DNS lookups for-addnode,-seednodeand-connect(default:1).-dnsseedβ query for peer addresses via DNS lookup, if low on addresses (default:1unless-connectused).-externalip=<ip>β specify your own public address.-forcednsseedβ always query for peer addresses via DNS lookup (default:0).-listenβ accept connections from outside (default:1if no-proxyor-connect).-listenonionβ automatically create Tor onion service (default:1).-maxconnections=<n>β maintain at most<n>connections to peers (default:125).-maxreceivebuffer=<n>β maximum per-connection receive buffer,<n>*1000bytes (default:5000).-maxsendbuffer=<n>β maximum per-connection send buffer,<n>*1000bytes (default:1000).-maxtimeadjustmentβ maximum allowed median peer time offset adjustment. Local perspective of time may be influenced by peers forward or backward by this amount. (default:4200seconds)-maxuploadtarget=<n>β tries to keep outbound traffic under the given target (in MiB per24h). Limit does not apply to peers with'download'permission.0= no limit (default:0).-networkactiveβ enable all P2P network activity (default:1). Can be changed by thesetnetworkactiveRPC command.-onion=<ip:port>β use separate SOCKS5 proxy to reach peers via Tor onion services, set-noonionto disable (default:-proxy).-onlynet=<net>β make outgoing connections only through network<net>(ipv4,ipv6oronion). Incoming connections are not affected by this option. This option can be specified multiple times to allow multiple networks.-peerblockfiltersβ serve compact block filters to peers per BIP 157 (default:0).-peerbloomfiltersβ support filtering of blocks and transaction with bloom filters (default:0).-permitbaremultisigβ relay non-P2SH multisig (default:1).-port=<port>β listen for connections on<port>. Nodes not using the default ports (default:8333, testnet:18333, signet:38333, regtest:18444) are unlikely to get incoming connections.-proxy=<ip:port>β connect through SOCKS5 proxy, set-noproxyto disable (default: disabled).-proxyrandomizeβ randomize credentials for every proxy connection. This enables Tor stream isolation (default:1).-seednode=<ip>β connect to a node to retrieve peer addresses, and disconnect. This option can be specified multiple times to connect to multiple nodes.-timeout=<n>β specify connection timeout in milliseconds (minimum:1, default:5000).-torcontrol=<ip>:<port>β Tor control port to use if onion listening enabled (default:127.0.0.1:9051).-torpassword=<pass>β Tor control port password (default: empty).-upnpβ use UPnP to map the listening port (default:0).-whitebind=<[permissions@]addr>β bind to the given address and add permission flags to the peers connecting to it. Use[host]:portnotation for IPv6. Allowed permissions:bloomfilter(allow requesting BIP37 filtered blocks and transactions),noban(do not ban for misbehavior; impliesdownload),forcerelay(relay transactions that are already in the mempool; impliesrelay),relay(relay even in-blocksonlymode, and unlimited transaction announcements),mempool(allow requesting BIP35 mempool contents),download(allowgetheadersduring IBD, no disconnect aftermaxuploadtargetlimit),addr(responses toGETADDRavoid 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 connecting from the given IP address (e.g.1.2.3.4) or CIDR-notated network (e.g.1.2.3.0/24). Uses the same permissions as-whitebind. Can be specified multiple times.
π Wallet options π
-addresstypeβ and the original page cuts off right here, mid-wallet-options; this chunk has no description for it.-addresstypeβ which address flavor you wanna be out here using:"legacy","p2sh-segwit", or"bech32"(default:"bech32"β yes bestie, we're on the modern one)-avoidpartialspendsβ groups outputs by address and then picks all or nothing from that address instead of cherry-picking output by output π. Privacy goes up bc an address only gets used once (unless someone sends to it after you already spent from it π). Downside? Fees might be a lil higher since the extra restriction can make coin selection suboptimal. (default:0, and it's always enabled for wallets with"avoid_reuse"enabled)-changetypeβ what flavor of change to use:"legacy","p2sh-segwit", or"bech32". Default is the same as-addresstype, except when-addresstype=p2sh-segwita native segwit output is used when sending to a native segwit address)-disablewalletβ don't load the wallet and disable wallet RPC calls, periodt π ββοΈ-discardfee=<amt>β the fee rate (in BTC/kB) that shows your tolerance for just yeeting 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-fallbackfee=<amt>β a fee rate (in BTC/kB) that gets used when fee estimation has insufficient data. Set0to 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. Like, don't do it, 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>β fees (in BTC/kB) smaller than this are considered zero fee for transaction creation (default:0.00001)-paytxfee=<amt>β fee (in BTC/kB) to add to transactions you send (default:0.00)-rescanβ rescan the block chain for missing wallet transactions on startup π-spendzeroconfchangeβ spend unconfirmed change when sending transactions (default:1)-txconfirmtarget=<n>β ifpaytxfeeis not set, include enough fee so transactions begin confirmation on average within n blocks (default:6)-wallet=<path>β specify wallet path to load at startup. Can be used multiple times to load multiple wallets π«Ά. Path is to a directory containing wallet data and log files. If the path is not absolute, it is interpreted relative to<walletdir>. This only loads existing wallets and does not create new ones. For backwards compatibility this also accepts names of existing top-level data files in<walletdir>.-walletbroadcastβ make the wallet broadcast transactions (default:1)-walletdir=<dir>β specify directory to hold wallets (default:<datadir>/walletsif it exists, otherwise<datadir>)-walletnotify=<cmd>β execute command when a wallet transaction changes.%sincmdis replaced by TxID and%wis replaced by wallet name.%wis not currently implemented on windows. On systems where%wis supported, it should NOT be quoted because this would break shell escaping used to invoke the command π-walletrbfβ send transactions with full-RBF opt-in enabled (RPC only, default:0)
β¨ ZeroMQ notification options β¨
okay these are for when you want the node to announce stuff over ZeroMQ π£
-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 π
for when something's acting sus and you need the receipts π
-debug=<category>β output debugging information (default:-nodebug, supplying <category> is optional). If <category> is not supplied or if <category> =1, output all debugging information. <category> can be:net,tor,mempool,http,bench,zmq,walletdb,rpc,estimatefee,addrman,selectcoins,reindex,cmpctblock,rand,prune,proxy,mempoolrej,libevent,coindb,qt,leveldb,validation.-debugexclude=<category>β exclude debugging information for a category. Can be used in conjunction with-debug=1to output debug logs for all categories except one or more specified categories π ββοΈ-help-debugβ print help message with debugging options and exit-logipsβ include IP addresses in debug output (default:0)-logthreadnamesβ prepend debug output with name of the originating thread (only available on platforms supportingthread_local) (default:0)-logtimestampsβ prepend debug output with timestamp (default:1)-maxtxfee=<amt>β maximum total fees (in BTC) to use in a single wallet transaction; setting this too low may abort large transactions β οΈ (default:0.10)-printtoconsoleβ send trace/debug info to console (default:1when no-daemon. To disable logging to file, set-nodebuglogfile)-shrinkdebugfileβ shrinkdebug.logfile on client startup (default:1when no-debug)-uacomment=<cmt>β append comment to the user agent string π¬
βοΈ Chain selection options βοΈ
pick your timeline, bestie π
-chain=<chain>β use the chain <chain> (default:main). Allowed values:main,test,signet,regtest-signetβ use the signet chain. Equivalent to-chain=signet. Note that the network is defined by the-signetchallengeparameter-signetchallengeβ blocks must satisfy the given script to be considered valid (only for signet networks; defaults to the global default signet test network challenge)-signetseednodeβ specify a seed node for the signet network, in thehostname[: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 test chain. Equivalent to-chain=test.
π‘ 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β maximum size of data in data carrier transactions we relay and mine (default:83)-minrelaytxfee=<amt>β fees (in BTC/kB) smaller than this are considered zero fee for relaying, mining and transaction creation (default:0.00001)-whitelistforcerelayβ add'forcerelay'permission to whitelisted inbound peers with default permissions. This will relay transactions even if the transactions were already in the mempool. (default:0)-whitelistrelayβ add'relay'permission to whitelisted inbound peers with default permissions. This will accept relayed transactions even when not relaying transactions (default:1)
π§± Block creation options π§±
-blockmaxweight=<n>β set maximum BIP141 block weight (default:3996000)-blockmintxfee=<amt>β set lowest fee rate (in BTC/kB) for transactions to be included in block creation. (default:0.00001)
π₯οΈ RPC server options π₯οΈ
the part where you let other things talk to your node π
-restβ accept public REST requests (default:0)-rpcallowip=<ip>β allow JSON-RPC connections from specified source. Valid 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) or a network/CIDR (e.g.1.2.3.4/24). This option can be specified multiple times-rpcauth=<userpw>β username and HMAC-SHA-256 hashed password for JSON-RPC connections. The field <userpw> comes in the format:<USERNAME>:<SALT>$<HASH>. A canonical python script is included inshare/rpcauth. The client then connects normally using therpcuser=<USERNAME>/rpcpassword=<PASSWORD>pair of arguments. This option can be specified multiple times-rpcbind=<addr>[:port]β bind to 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-rpcallowipis also passed. Port is optional and overrides-rpcport. Use[host]:portnotation for IPv6. This option can be specified multiple times (default:127.0.0.1and::1i.e., localhost)-rpccookiefile=<loc>β location of the auth cookie. Relative paths will be prefixed by a net-specific datadir location. (default: data dir)-rpcpassword=<pw>β password for JSON-RPC connections-rpcport=<port>β listen for JSON-RPC connections on <port> (default:8332, testnet:18332, signet:38332, regtest:18443)-rpcserialversionβ sets the serialization of raw transaction or block hex returned in non-verbose mode, non-segwit(0) or segwit(1) (default:1)-rpcthreads=<n>β set the number of threads to service RPC calls (default:4)-rpcuser=<user>β username for JSON-RPC connections-rpcwhitelist=<whitelist>β set a whitelist to filter incoming RPC calls for a specific user. The field <whitelist> comes in the format:<USERNAME>:<rpc 1>,<rpc 2>,...,<rpc n>. If multiple whitelists are set for a given user, they are set-intersected. See-rpcwhitelistdefaultdocumentation for information on default whitelist behavior.-rpcwhitelistdefault- okay so real talk about
rpcwhitelistdefaultβ Sets default behavior for rpc whitelisting. Unlessrpcwhitelistdefaultis set to0, if any-rpcwhitelistis set, the rpc server acts as if all rpc users are subject to empty-unless-otherwise-specified whitelists. And ifrpcwhitelistdefaultis set to1and no-rpcwhitelistis set, rpc server acts as if all rpc users are subject to empty whitelists. π -serverβ Accept command line and JSON-RPC commands. yes bestie, it's giving "actually a daemon in a cute outfit". π₯
π UI Options π
-choosedatadirβ Choose data directory on startup (default:0). ποΈ-lang=<lang>β Set language, for example"de_DE"(default: system locale). π-minβ Start minimized, so it just vibes in your taskbar like the lowkey icon it is. π¦-resetguisettingsβ Reset all settings changed in the GUI. it's a full glow-up reset, everything back to factory-fresh π-splashβ Show splash screen on startup (default:1). the little entrance moment, main character energy β¨
π COPYRIGHT π
Copyright (C) 2009-2020 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. π like for real for real β experimental. Distributed under the MIT software license, see the accompanying file COPYING or <https://opensource.org/licenses/MIT>.
okay that's the whole page bestie, you're officially fluent π«Ά this was bitcoin-qt v0.21.2.0, dated August 2021, and it lives at BITCOIN-QT(1) β go forth and slay, no cap πβ¨
π¦ where this page comes from
- nixpkgs unstable: vertcoin 0.18.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms