Inside Bitcoin
Opening the selected file…
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.
1.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.3.2.TH BITCOIN-QT "1" "October 2026" "bitcoin-qt v32.1.0" "User Commands"3.SH NAME4bitcoin-qt \- manual page for bitcoin-qt v32.1.05.SH SYNOPSIS6.B bitcoin-qt7[\fI\,options\/\fR] [\fI\,URI\/\fR]8.SH DESCRIPTION9Bitcoin Core version v32.1.010.PP11The bitcoin\-qt application provides a graphical interface for interacting with Bitcoin Core.12.PP13It combines the core functionalities of bitcoind with a user\-friendly interface for wallet management, transaction history, and network statistics.14.PP15It is suitable for users who prefer a graphical over a command\-line interface.16.PP17You can optionally specify a payment [URI], in e.g. the BIP21 URI format.18.SH OPTIONS19.HP20\fB\-alertnotify=\fR<cmd>21.IP22Execute command when an alert is raised (%s in cmd is replaced by23message)24.HP25\fB\-allowignoredconf\fR26.IP27For backwards compatibility, treat an unused bitcoin.conf file in the28datadir as a warning, not an error.29.HP30\fB\-assumevalid=\fR<hex>31.IP32If this block is in the chain assume that it and its ancestors are valid33and potentially skip their script verification (0 to verify all,34default:3500000000000000000000748969ec33043c0e52a763c6dd5193861f559f2c72e3,36testnet3:3700000000b318a3703d14a844c55ef507f4c2fc8f8766e24271fd43c180c51637,38testnet4:390000000021df65b91665a342e26ceb05e54826ad7d8fcd40316230058fa3b865,40signet:4100000002a5e0ba0498f1e9f4591af0b66b63c654665efe65206fd0ae7bbaf923)42.HP43\fB\-blockfilterindex=\fR<type>44.IP45Maintain an index of compact filters by block (default: 0, values:46basic). If <type> is not supplied or if <type> = 1, indexes for47all known types are enabled.48.HP49\fB\-blocknotify=\fR<cmd>50.IP51Execute command when the best block changes (%s in cmd is replaced by52block hash). Not run for blocks connected during initial block53download or reindexing.54.HP55\fB\-blockreconstructionextratxn=\fR<n>56.IP57Extra transactions to keep in memory for compact block reconstructions58(default: 100)59.HP60\fB\-blocksdir=\fR<dir>61.IP62Specify directory to hold blocks subdirectory for *.dat files (default:63<datadir>)64.HP65\fB\-blocksonly\fR66.IP67Whether to reject transactions from network peers. Disables automatic68broadcast and rebroadcast of transactions, unless the source peer69has the 'forcerelay' permission. RPC transactions are not70affected. (default: 0)71.HP72\fB\-blocksxor\fR73.IP74Whether an XOR\-key applies to blocksdir *.dat files. The created XOR\-key75will be zeros for an existing blocksdir or when `\-blocksxor=0` is76set, and random for a freshly initialized blocksdir. (default: 1)77.HP78\fB\-coinstatsindex\fR79.IP80Maintain coinstats index used by the gettxoutsetinfo RPC (default: 0)81.HP82\fB\-conf=\fR<file>83.IP84Specify path to read\-only configuration file. Relative paths will be85prefixed by datadir location (only useable from command line, not86configuration file) (default: bitcoin.conf)87.HP88\fB\-daemon\fR89.IP90Run in the background as a daemon and accept commands (default: 0)91.HP92\fB\-daemonwait\fR93.IP94Wait for initialization to be finished before exiting. This implies95\fB\-daemon\fR (default: 0)96.HP97\fB\-datadir=\fR<dir>98.IP99Specify data directory100.HP101\fB\-dbcache=\fR<n>102.IP103Maximum database cache size <n> MiB (minimum 4, default: 1024). Make104sure you have enough RAM. In addition, unused memory allocated to105the mempool is shared with this cache (see \fB\-maxmempool\fR).106.HP107\fB\-debuglogfile=\fR<file>108.IP109Specify location of debug log file (default: debug.log). Relative paths110will be prefixed by a net\-specific datadir location. Pass111\fB\-nodebuglogfile\fR to disable writing the log to a file.112.HP113\fB\-help\fR114.IP115Print this help message and exit (also \fB\-h\fR or \-?)116.HP117\fB\-includeconf=\fR<file>118.IP119Specify additional configuration file, relative to the \fB\-datadir\fR path120(only useable from configuration file, not command line)121.HP122\fB\-loadblock=\fR<file>123.IP124Imports blocks from an external file on startup. Obfuscated blocks are125not supported.126.HP127\fB\-maxmempool=\fR<n>128.IP129Keep the transaction memory pool below <n> megabytes (default: 300)130.HP131\fB\-mempoolexpiry=\fR<n>132.IP133Do not keep transactions in the mempool longer than <n> hours (default:134336)135.HP136\fB\-par=\fR<n>137.IP138Set the number of script verification threads (0 = auto, up to 15, <0 =139leave that many cores free, default: 0)140.HP141\fB\-persistmempool\fR142.IP143Whether to save the mempool on shutdown and load on restart (default: 1)144.HP145\fB\-persistmempoolv1\fR146.IP147Whether a mempool.dat file created by \fB\-persistmempool\fR or the savemempool148RPC will be written in the legacy format (version 1) or the149current format (version 2). This temporary option will be removed150in the future. (default: 0)151.HP152\fB\-pid=\fR<file>153.IP154Specify pid file. Relative paths will be prefixed by a net\-specific155datadir location. (default: bitcoind.pid)156.HP157\fB\-prevoutfetchthreads=\fR<n>158.IP159Set the number of threads used to prefetch block input prevouts from the160chainstate database (0 disables, up to 16, default: 8). Negative161values are rejected.162.HP163\fB\-prune=\fR<n>164.IP165Reduce storage requirements by enabling pruning (deleting) of old166blocks. This allows the pruneblockchain RPC to be called to167delete specific blocks and enables automatic pruning of old168blocks if a target size in MiB is provided. This mode is169incompatible with \fB\-txindex\fR. Warning: Reverting this setting170requires re\-downloading the entire blockchain. Wallets and171indexes should be loaded at startup and kept active while pruning172is enabled so they stay synchronized before old block data is173deleted; wallets or indexes that fall behind pruned data may174require a reindex. (default: 0 = disable pruning blocks, 1 =175allow manual pruning via RPC, >=550 = automatically prune block176files to stay under the specified target size in MiB)177.HP178\fB\-reindex\fR179.IP180If enabled, wipe chain state and block index, and rebuild them from181blk*.dat files on disk. Also wipe and rebuild other optional182indexes that are active. If an assumeutxo snapshot was loaded,183its chainstate will be wiped as well. The snapshot can then be184reloaded via RPC.185.HP186\fB\-reindex\-chainstate\fR187.IP188If enabled, wipe chain state, and rebuild it from blk*.dat files on189disk. If an assumeutxo snapshot was loaded, its chainstate will190be wiped as well. The snapshot can then be reloaded via RPC.191.HP192\fB\-settings=\fR<file>193.IP194Specify path to dynamic settings data file. Can be disabled with195\fB\-nosettings\fR. File is written at runtime and not meant to be196edited by users (use bitcoin.conf instead for custom settings).197Relative paths will be prefixed by datadir location. (default:198settings.json)199.HP200\fB\-shutdownnotify=\fR<cmd>201.IP202Execute command immediately before beginning shutdown. The need for203shutdown may be urgent, so be careful not to delay it long (if204the command doesn't require interaction with the server, consider205having it fork into the background).206.HP207\fB\-startupnotify=\fR<cmd>208.IP209Execute command on startup.210.HP211\fB\-txindex\fR212.IP213Maintain a full transaction index, used by the getrawtransaction rpc214call (default: 0)215.HP216\fB\-txospenderindex\fR217.IP218Maintain a transaction output spender index, used by the219gettxspendingprevout rpc call (default: 0)220.HP221\fB\-version\fR222.IP223Print version and exit224.PP225Connection options:226.HP227\fB\-addnode=\fR<ip>228.IP229Add a node to connect to and attempt to keep the connection open (see230the addnode RPC help for more info). This option can be specified231multiple times to add multiple nodes; connections are limited to2328 at a time and are counted separately from the \fB\-maxconnections\fR233limit.234.HP235\fB\-asmap=\fR<file>236.IP237Specify asn mapping used for bucketing of the peers. Relative paths will238be prefixed by the net\-specific datadir location. If a bool arg239is given (\fB\-asmap\fR or \fB\-asmap\fR=\fI\,1\/\fR), the embedded mapping data in the240binary will be used.241.HP242\fB\-bantime=\fR<n>243.IP244Default duration (in seconds) of manually configured bans (default:24586400)246.HP247\fB\-bind=\fR<addr>[:<port>][=onion]248.IP249Bind to given address and always listen on it (default: 0.0.0.0). Use250[host]:port notation for IPv6. Append =onion to tag any incoming
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.