← 返回命令列表

Linux command

bitcoin-qt 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Start Bitcoin Core

bitcoin-qt

Start on testnet

bitcoin-qt -testnet

Start with specific data directory

bitcoin-qt -datadir=[/path/to/data]

Start with limited connections

bitcoin-qt -maxconnections=[8]

Start in prune mode

bitcoin-qt -prune=[550]

Start minimized

bitcoin-qt -min

Start without splash screen

bitcoin-qt -splash=0

Reset GUI settings

bitcoin-qt -resetguisettings

说明

bitcoin-qt is the graphical user interface for Bitcoin Core, the reference implementation of the Bitcoin protocol. It provides a full Bitcoin node with wallet functionality and a user-friendly interface for sending, receiving, and managing Bitcoin. Running bitcoin-qt downloads and verifies the entire Bitcoin blockchain (several hundred gigabytes). It connects to the Bitcoin peer-to-peer network, validates transactions and blocks, and relays them to other nodes. The wallet features include address generation, transaction history, coin control, and fee estimation. It supports multiple wallets, watch-only addresses, and hardware wallet integration.

参数

-datadir= _path_
Specify data directory.
-testnet
Use the test network.
-regtest
Enter regression test mode.
-prune= _n_
Reduce storage by deleting old blocks (MB).
-maxconnections= _n_
Limit peer connections.
-proxy= _ip:port_
Connect through SOCKS5 proxy.
-onion= _ip:port_
Use separate proxy for Tor.
-listen
Accept incoming connections.
-server
Accept JSON-RPC commands.
-rpcuser= _user_
RPC username.
-rpcpassword= _pass_
RPC password.
-min
Start minimized.
-splash= _0|1_
Show splash screen on startup.
-resetguisettings
Reset GUI settings to defaults.
-choosedatadir
Show data directory chooser on startup.
-lang= _lang_
Set interface language.

FAQ

What is the bitcoin-qt command used for?

bitcoin-qt is the graphical user interface for Bitcoin Core, the reference implementation of the Bitcoin protocol. It provides a full Bitcoin node with wallet functionality and a user-friendly interface for sending, receiving, and managing Bitcoin. Running bitcoin-qt downloads and verifies the entire Bitcoin blockchain (several hundred gigabytes). It connects to the Bitcoin peer-to-peer network, validates transactions and blocks, and relays them to other nodes. The wallet features include address generation, transaction history, coin control, and fee estimation. It supports multiple wallets, watch-only addresses, and hardware wallet integration.

How do I run a basic bitcoin-qt example?

Run `bitcoin-qt` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -datadir= _path_ do in bitcoin-qt?

Specify data directory.