|
1 | | -## |
2 | | -## dash.conf configuration file. Lines beginning with # are comments. |
3 | | -## |
4 | | - |
5 | | -# Network-related settings: |
6 | | - |
7 | | -# Note that if you use testnet or regtest, particularly with the options |
8 | | -# addnode, connect, port, bind, rpcport, rpcbind or wallet, you will also |
9 | | -# want to read "[Sections]" further down. |
10 | | - |
11 | | -# Run on the test network instead of the real dash network. |
12 | | -#testnet=0 |
13 | | - |
14 | | -# Run a regression test network |
15 | | -#regtest=0 |
16 | | - |
17 | | -# Connect via a SOCKS5 proxy |
18 | | -#proxy=127.0.0.1:9050 |
19 | | - |
20 | | -# Bind to given address and always listen on it. Use [host]:port notation for IPv6 |
21 | | -#bind=<addr> |
22 | | - |
23 | | -# Bind to given address and add permission flags to peers connecting to it. Use [host]:port notation for IPv6 |
24 | | -#whitebind=perm@<addr> |
25 | | - |
26 | | -############################################################## |
27 | | -## Quick Primer on addnode vs connect ## |
28 | | -## Let's say for instance you use addnode=4.2.2.4 ## |
29 | | -## addnode will connect you to and tell you about the ## |
30 | | -## nodes connected to 4.2.2.4. In addition it will tell ## |
31 | | -## the other nodes connected to it that you exist so ## |
32 | | -## they can connect to you. ## |
33 | | -## connect will not do the above when you 'connect' to it. ## |
34 | | -## It will *only* connect you to 4.2.2.4 and no one else.## |
35 | | -## ## |
36 | | -## So if you're behind a firewall, or have other problems ## |
37 | | -## finding nodes, add some using 'addnode'. ## |
38 | | -## ## |
39 | | -## If you want to stay private, use 'connect' to only ## |
40 | | -## connect to "trusted" nodes. ## |
41 | | -## ## |
42 | | -## If you run multiple nodes on a LAN, there's no need for ## |
43 | | -## all of them to open lots of connections. Instead ## |
44 | | -## 'connect' them all to one node that is port forwarded ## |
45 | | -## and has lots of connections. ## |
46 | | -## Thanks goes to [Noodle] on Freenode. ## |
47 | | -############################################################## |
48 | | - |
49 | | -# Use as many addnode= settings as you like to connect to specific peers |
50 | | -#addnode=69.164.218.197 |
51 | | -#addnode=10.0.0.2:9999 |
52 | | - |
53 | | -# Alternatively use as many connect= settings as you like to connect ONLY to specific peers |
54 | | -#connect=69.164.218.197 |
55 | | -#connect=10.0.0.1:9999 |
56 | | - |
57 | | -# Listening mode, enabled by default except when 'connect' is being used |
58 | | -#listen=1 |
59 | | - |
60 | | -# Port on which to listen for connections (default: 9999, testnet: 19999, regtest: 19899) |
61 | | -#port= |
62 | | - |
63 | | -# Maximum number of inbound + outbound connections (default: 125). This option |
64 | | -# applies only if inbound connections are enabled; otherwise, the number of connections |
65 | | -# will not be more than 11: 8 full-relay connections, 2 block-relay-only ones, and |
66 | | -# occasionally 1 short-lived feeler or extra outbound block-relay-only connection. |
67 | | -# These limits do not apply to connections added manually with the -addnode |
68 | | -# configuration option or the addnode RPC, which have a separate limit of 8 connections. |
69 | | -#maxconnections= |
70 | | - |
71 | | -# Maximum upload bandwidth target in MiB per day (e.g. 'maxuploadtarget=1024' is 1 GiB per day). |
72 | | -# This limits the upload bandwidth for those with bandwidth limits. 0 = no limit (default: 0). |
73 | | -# -maxuploadtarget does not apply to peers with 'download' permission. |
74 | | -# For more information on reducing bandwidth utilization, see: doc/reduce-traffic.md. |
75 | | -#maxuploadtarget= |
76 | | - |
77 | | -# |
78 | | -# JSON-RPC options (for controlling a running Dash/dashd process) |
79 | | -# |
80 | | - |
81 | | -# server=1 tells Dash-Qt and dashd to accept JSON-RPC commands |
82 | | -#server=0 |
83 | | - |
84 | | -# Bind to given address to listen for JSON-RPC connections. |
85 | | -# Refer to the manpage or dashd -help for further details. |
86 | | -#rpcbind=<addr> |
87 | | - |
88 | | -# If no rpcpassword is set, rpc cookie auth is sought. The default `-rpccookiefile` name |
89 | | -# is .cookie and found in the `-datadir` being used for dashd. This option is typically used |
90 | | -# when the server and client are run as the same user. |
91 | | -# |
92 | | -# If not, you must set rpcuser and rpcpassword to secure the JSON-RPC API. |
93 | | -# |
94 | | -# The config option `rpcauth` can be added to server startup argument. It is set at initialization time |
95 | | -# using the output from the script in share/rpcauth/rpcauth.py after providing a username: |
96 | | -# |
97 | | -# ./share/rpcauth/rpcauth.py alice |
98 | | -# String to be appended to dash.conf: |
99 | | -# rpcauth=alice:f7efda5c189b999524f151318c0c86$d5b51b3beffbc02b724e5d095828e0bc8b2456e9ac8757ae3211a5d9b16a22ae |
100 | | -# Your password: |
101 | | -# DONT_USE_THIS_YOU_WILL_GET_ROBBED_8ak1gI25KFTvjovL3gAM967mies3E= |
102 | | -# |
103 | | -# On client-side, you add the normal user/password pair to send commands: |
104 | | -#rpcuser=alice |
105 | | -#rpcpassword=DONT_USE_THIS_YOU_WILL_GET_ROBBED_8ak1gI25KFTvjovL3gAM967mies3E= |
106 | | -# |
107 | | -# You can even add multiple entries of these to the server conf file, and client can use any of them: |
108 | | -# rpcauth=bob:b2dd077cb54591a2f3139e69a897ac$4e71f08d48b4347cf8eff3815c0e25ae2e9a4340474079f55705f40574f4ec99 |
109 | | - |
110 | | -# How many seconds Dash Core will wait for a complete RPC HTTP request. |
111 | | -# after the HTTP connection is established. |
112 | | -#rpcclienttimeout=30 |
113 | | - |
114 | | -# By default, only RPC connections from localhost are allowed. |
115 | | -# Specify as many rpcallowip= settings as you like to allow connections from other hosts, |
116 | | -# either as a single IPv4/IPv6 or with a subnet specification. |
117 | | - |
118 | | -# NOTE: opening up the RPC port to hosts outside your local trusted network is NOT RECOMMENDED, |
119 | | -# because the rpcpassword is transmitted over the network unencrypted. |
120 | | - |
121 | | -# server=1 tells Dash-Qt to accept JSON-RPC commands. |
122 | | -# it is also read by dashd to determine if RPC should be enabled |
123 | | -#rpcallowip=10.1.1.34/255.255.255.0 |
124 | | -#rpcallowip=1.2.3.4/24 |
125 | | -#rpcallowip=2001:db8:85a3:0:0:8a2e:370:7334/96 |
126 | | - |
127 | | -# Listen for RPC connections on this TCP port: |
128 | | -#rpcport=9998 |
129 | | - |
130 | | -# You can use Dash or dashd to send commands to Dash/dashd |
131 | | -# running on another host using this option: |
132 | | -#rpcconnect=127.0.0.1 |
133 | | - |
134 | | -# Wallet options |
135 | | - |
136 | | -# Specify where to find wallet, lockfile and logs. If not present, those files will be |
137 | | -# created as new. |
138 | | -#wallet=</path/to/dir> |
139 | | - |
140 | | -# Create transactions that have enough fees so they are likely to begin confirmation within n blocks (default: 6). |
141 | | -# This setting is over-ridden by the -paytxfee option. |
142 | | -#txconfirmtarget=n |
143 | | - |
144 | | -# Pay a transaction fee every time you send dash. |
145 | | -#paytxfee=0.000x |
146 | | - |
147 | | -# Miscellaneous options |
148 | | - |
149 | | -# Pre-generate this many public/private key pairs, so wallet backups will be valid for |
150 | | -# both prior transactions and several dozen future transactions. |
151 | | -#keypool=100 |
152 | | - |
153 | | -# Maintain coinstats index used by the gettxoutsetinfo RPC (default: 0). |
154 | | -#coinstatsindex=1 |
155 | | - |
156 | | -# Enable pruning to reduce storage requirements by deleting old blocks. |
157 | | -# This mode is incompatible with -txindex, -coinstatsindex and -rescan. |
158 | | -# 0 = default (no pruning). |
159 | | -# 1 = allows manual pruning via RPC. |
160 | | -# >=945 = target to stay under in MiB. |
161 | | -#prune=945 |
162 | | - |
163 | | -# User interface options |
164 | | - |
165 | | -# Start Dash minimized |
166 | | -#min=1 |
167 | | - |
168 | | -# Minimize to the system tray |
169 | | -#minimizetotray=1 |
170 | | - |
171 | | -# [Sections] |
172 | | -# Most options apply to mainnet, testnet and regtest. |
173 | | -# If you want to confine an option to just one network, you should add it in the |
174 | | -# relevant section below. |
175 | | -# EXCEPTIONS: The options addnode, connect, port, bind, rpcport, rpcbind and wallet |
176 | | -# only apply to mainnet unless they appear in the appropriate section below. |
177 | | - |
178 | | -# Options only for mainnet |
179 | | -[main] |
180 | | - |
181 | | -# Options only for testnet |
182 | | -[test] |
183 | | - |
184 | | -# Options only for regtest |
185 | | -[regtest] |
| 1 | +# This is a placeholder file. Please follow the instructions in `contrib/devtools/README.md` to generate a dash.conf file. |
0 commit comments