β β β Uππ»βΊπ«Δπ¬πβ β β β
π¦Advanced usage of bitcoin
#ExpertsUsers
> Bitcoin The official Bitcoin client has two versions: one is a graphical interface version, usually called Bitcoin (capital), and one A concise command line version (called bitcoind). They are compatible with each other, have the same command line parameters, read the same configuration file, and read and write the same data file. You can run one of the Bitcoin client or bitcoind client on a computer (if you accidentally try to run another client at the same time, it will prompt you that there is already a client running and automatically quit).
1οΈβ£SSL options:
-rpcssl uses OpenSSL (https) JSON-RPC connection
-rpcsslcertificatechainfile=<file.cert> server certificate file (default: server.cert)
-rpcsslprivatekeyfile=<file.pem> server private key file (default: server.pem)
-rpcsslciphers=<password> Acceptable ciphers (default: TLSv1+HIGH:!SSLv2:!aNULL:!eNULL:!AH:!3DES:@STRENGTH)
2οΈβ£bitcoin.conf configuration file
All command-line parameters except -datadir and -conf can be set through a configuration file, and all options in the configuration file can also be set on the command line. The value set by the command line parameter will override the setting in the configuration file.
The configuration file is a list in the format "setting=value", one per line. You can also use the # symbol to write comments.
The configuration file is not created automatically; you can use your favorite plain text editor to create it. By default, Bitcoin (or bitcoind) will look for a file named "bitcoin.conf" under the Bitcoin data folder, but the path of the data folder and configuration file can be passed through the -datadir and -conf command line parameters, respectively Specify separately.
operating system
Default data folder
Configuration file path
Windows
%APPDATA%\Bitcoin\
(Windows XP) C:\Documents and Settings\username\Application Data\Bitcoin\bitcoin.conf
(Windows 7,8,10) C:\Users\username\AppData\Roaming\Bitcoin\bitcoin.conf
Linux
$HOME/.bitcoin/
/home/username/.bitcoin/bitcoin.conf
Mac OSX
$HOME/Library/Application Support/Bitcoin/
/Users/username/Library/Application Support/Bitcoin/bitcoin.conf
Note: If the Bitcoin client testnet mode is running, the client will automatically create a subfolder named "testnet" under the data folder.
bitcoin.conf example
# bitcoin.conf configuration file. Lines beginning with # are comments.
3οΈβ£# User interface options:
# Minimize the launch of the Bitcoin client
#min=1
# Minimize to system tray
#minimizetotray=1
@UndercodeTesting
@UndercodeSecurity
@UndercodeHacking
β β β Uππ»βΊπ«Δπ¬πβ β β β
π¦Advanced usage of bitcoin
#ExpertsUsers
> Bitcoin The official Bitcoin client has two versions: one is a graphical interface version, usually called Bitcoin (capital), and one A concise command line version (called bitcoind). They are compatible with each other, have the same command line parameters, read the same configuration file, and read and write the same data file. You can run one of the Bitcoin client or bitcoind client on a computer (if you accidentally try to run another client at the same time, it will prompt you that there is already a client running and automatically quit).
1οΈβ£SSL options:
-rpcssl uses OpenSSL (https) JSON-RPC connection
-rpcsslcertificatechainfile=<file.cert> server certificate file (default: server.cert)
-rpcsslprivatekeyfile=<file.pem> server private key file (default: server.pem)
-rpcsslciphers=<password> Acceptable ciphers (default: TLSv1+HIGH:!SSLv2:!aNULL:!eNULL:!AH:!3DES:@STRENGTH)
2οΈβ£bitcoin.conf configuration file
All command-line parameters except -datadir and -conf can be set through a configuration file, and all options in the configuration file can also be set on the command line. The value set by the command line parameter will override the setting in the configuration file.
The configuration file is a list in the format "setting=value", one per line. You can also use the # symbol to write comments.
The configuration file is not created automatically; you can use your favorite plain text editor to create it. By default, Bitcoin (or bitcoind) will look for a file named "bitcoin.conf" under the Bitcoin data folder, but the path of the data folder and configuration file can be passed through the -datadir and -conf command line parameters, respectively Specify separately.
operating system
Default data folder
Configuration file path
Windows
%APPDATA%\Bitcoin\
(Windows XP) C:\Documents and Settings\username\Application Data\Bitcoin\bitcoin.conf
(Windows 7,8,10) C:\Users\username\AppData\Roaming\Bitcoin\bitcoin.conf
Linux
$HOME/.bitcoin/
/home/username/.bitcoin/bitcoin.conf
Mac OSX
$HOME/Library/Application Support/Bitcoin/
/Users/username/Library/Application Support/Bitcoin/bitcoin.conf
Note: If the Bitcoin client testnet mode is running, the client will automatically create a subfolder named "testnet" under the data folder.
bitcoin.conf example
# bitcoin.conf configuration file. Lines beginning with # are comments.
3οΈβ£# User interface options:
# Minimize the launch of the Bitcoin client
#min=1
# Minimize to system tray
#minimizetotray=1
@UndercodeTesting
@UndercodeSecurity
@UndercodeHacking
β β β Uππ»βΊπ«Δπ¬πβ β β β