命令和参数#

可以在配置文件中指定(除了``-datadir``和``-conf``之外)的所有命令行选项,也可以在命令行中指定所有配置文件选项。命令行选项会覆盖配置文件中的设定值。配置文件是一个包含``setting=value``的列表,每行都有,除此之外,文件中还包括以 # 字符开头的可选注释。

配置文件不是自动创建的。用户可以通过纯文本编辑器来完成创建。在默认情况下,dash-qt(或dashd)会在达世币数据目录中查找名为``dash.conf``的文件。不过,用户可以使用 -datadir 和 -conf 命令行来更改数据目录和配置文件路径。

平台

数据文件夹路径

配置文件的通常路径

Linux

~/

/home/username/.dashcore/dash.conf

macOS

~/Library/Application Support/

/Users/username/Library/Application Support/DashCore/dash.conf

Windows

%APPDATA%

(Vista-10) C:\Users\username\AppData\Roaming\DashCore\dash.conf

(2000-XP) C:\Documents and Settings\username\Application Data\DashCore\dash.conf

注意:如果用户在测试网环境下运行达世币核心钱包,子文件夹 testnet3 会被自动添加到数据目录中。

命令行参数#

Detailed information for all command line arguments can be found at the following links to the Dash Core developer documentation site:

RPC 命令#

Detailed documentation for all available RPC commands is accessible via the Dash Core developer documentation RPC page. For full documentation of arguments, results and examples, type help ( "command" ) to view full details at the console. You can enter commands either from Tools > Console in the QT wallet, or using dash-cli for headless wallets and dashd.