2014-06-10 11:43:27 +02:00
|
|
|
##
|
2015-04-03 00:51:08 +02:00
|
|
|
## dash.conf configuration file. Lines beginning with # are comments.
|
2014-06-10 11:43:27 +02:00
|
|
|
##
|
Merge #16812: doc: Fix whitespace errs in .md files, bitcoin.conf, and Info.plist.in
6aab7649d30b19d136a27f1287fd2c8b00fb460c doc: Fix whitespace errs in .md files, bitcoin.conf, Info.plist.in, and find_bdb48.m4 (Jon Layton)
Pull request description:
Although there is an existing `test/lint/lint-whitespace.sh` linter, it only prevents new errors from being introduced. This commit removes all existing whitespace errors from Core markdown files (skips `src/crypto/ctaes/`, `leveldb/`, and `doc/release-notes/`), `bitcoin.conf`, and `Info.plist.in`.
Further formatting could be done on the markdown documents, but seeing as there several coexisting styles that break a few `markdownlint` rules, a first step would be to define and add a linter to Travis. For now, the small fix is made.
ACKs for top commit:
fanquake:
ACK 6aab7649d30b19d136a27f1287fd2c8b00fb460c - Thanks for following up. Hopefully we now never have to deal with whitespace again.
Tree-SHA512: 810cc31ae4364b2dedf85783e67315d7b4e11589e4b32c599606e1b1ba8de0663bcae9ddb1bd8c9762a3636a2d65bdcd64ec22d2e90943f374a0c9574b77ca23
2019-09-17 10:33:29 +02:00
|
|
|
|
2011-10-25 22:48:36 +02:00
|
|
|
# Network-related settings:
|
|
|
|
|
2019-03-05 13:11:32 +01:00
|
|
|
# Note that if you use testnet or regtest, particularly with the options
|
|
|
|
# addnode, connect, port, bind, rpcport, rpcbind or wallet, you will also
|
|
|
|
# want to read "[Sections]" further down.
|
|
|
|
|
2015-03-19 15:15:08 +01:00
|
|
|
# Run on the test network instead of the real dash network.
|
2014-06-10 11:43:27 +02:00
|
|
|
#testnet=0
|
2011-10-25 22:48:36 +02:00
|
|
|
|
2014-06-10 11:43:27 +02:00
|
|
|
# Run a regression test network
|
|
|
|
#regtest=0
|
2011-10-25 22:48:36 +02:00
|
|
|
|
2014-07-24 15:55:49 +02:00
|
|
|
# Connect via a SOCKS5 proxy
|
2011-10-25 22:48:36 +02:00
|
|
|
#proxy=127.0.0.1:9050
|
|
|
|
|
2015-03-22 03:05:17 +01:00
|
|
|
# Bind to given address and always listen on it. Use [host]:port notation for IPv6
|
|
|
|
#bind=<addr>
|
|
|
|
|
2020-07-11 10:22:44 +02:00
|
|
|
# Bind to given address and add permission flags to peers connecting to it. Use [host]:port notation for IPv6
|
|
|
|
#whitebind=perm@<addr>
|
2015-03-22 03:05:17 +01:00
|
|
|
|
2014-06-10 11:43:27 +02:00
|
|
|
##############################################################
|
|
|
|
## Quick Primer on addnode vs connect ##
|
|
|
|
## Let's say for instance you use addnode=4.2.2.4 ##
|
|
|
|
## addnode will connect you to and tell you about the ##
|
|
|
|
## nodes connected to 4.2.2.4. In addition it will tell ##
|
|
|
|
## the other nodes connected to it that you exist so ##
|
|
|
|
## they can connect to you. ##
|
|
|
|
## connect will not do the above when you 'connect' to it. ##
|
|
|
|
## It will *only* connect you to 4.2.2.4 and no one else.##
|
|
|
|
## ##
|
|
|
|
## So if you're behind a firewall, or have other problems ##
|
|
|
|
## finding nodes, add some using 'addnode'. ##
|
|
|
|
## ##
|
|
|
|
## If you want to stay private, use 'connect' to only ##
|
|
|
|
## connect to "trusted" nodes. ##
|
|
|
|
## ##
|
|
|
|
## If you run multiple nodes on a LAN, there's no need for ##
|
|
|
|
## all of them to open lots of connections. Instead ##
|
|
|
|
## 'connect' them all to one node that is port forwarded ##
|
|
|
|
## and has lots of connections. ##
|
|
|
|
## Thanks goes to [Noodle] on Freenode. ##
|
|
|
|
##############################################################
|
|
|
|
|
2011-10-25 22:48:36 +02:00
|
|
|
# Use as many addnode= settings as you like to connect to specific peers
|
|
|
|
#addnode=69.164.218.197
|
2014-11-27 18:09:11 +01:00
|
|
|
#addnode=10.0.0.2:9999
|
2011-10-25 22:48:36 +02:00
|
|
|
|
2014-06-10 11:43:27 +02:00
|
|
|
# Alternatively use as many connect= settings as you like to connect ONLY to specific peers
|
2011-10-25 22:48:36 +02:00
|
|
|
#connect=69.164.218.197
|
2014-11-27 18:09:11 +01:00
|
|
|
#connect=10.0.0.1:9999
|
2011-10-25 22:48:36 +02:00
|
|
|
|
2014-06-10 11:43:27 +02:00
|
|
|
# Listening mode, enabled by default except when 'connect' is being used
|
|
|
|
#listen=1
|
|
|
|
|
2019-03-05 13:11:32 +01:00
|
|
|
# Port on which to listen for connections (default: 9999, testnet: 19999, regtest: 19899)
|
|
|
|
#port=
|
|
|
|
|
2021-05-05 16:10:21 +02:00
|
|
|
# Maximum number of inbound + outbound connections (default: 125). This option
|
|
|
|
# applies only if inbound connections are enabled; otherwise, the number of connections
|
|
|
|
# will not be more than 11: 8 full-relay connections, 2 block-relay-only ones, and
|
|
|
|
# occasionally 1 short-lived feeler or extra outbound block-relay-only connection.
|
|
|
|
# These limits do not apply to connections added manually with the -addnode
|
|
|
|
# configuration option or the addnode RPC, which have a separate limit of 8 connections.
|
2011-10-25 22:48:36 +02:00
|
|
|
#maxconnections=
|
|
|
|
|
2021-05-31 13:59:49 +02:00
|
|
|
# Maximum upload bandwidth target in MiB per day (e.g. 'maxuploadtarget=1024' is 1 GiB per day).
|
|
|
|
# This limits the upload bandwidth for those with bandwidth limits. 0 = no limit (default: 0).
|
|
|
|
# -maxuploadtarget does not apply to peers with 'download' permission.
|
|
|
|
# For more information on reducing bandwidth utilization, see: doc/reduce-traffic.md.
|
|
|
|
#maxuploadtarget=
|
|
|
|
|
2014-06-10 11:43:27 +02:00
|
|
|
#
|
2015-03-19 15:15:08 +01:00
|
|
|
# JSON-RPC options (for controlling a running Dash/dashd process)
|
2014-06-10 11:43:27 +02:00
|
|
|
#
|
2011-10-25 22:48:36 +02:00
|
|
|
|
2016-02-02 16:28:56 +01:00
|
|
|
# server=1 tells Dash-Qt and dashd to accept JSON-RPC commands
|
2014-06-10 11:43:27 +02:00
|
|
|
#server=0
|
2011-10-25 22:48:36 +02:00
|
|
|
|
2019-08-19 11:13:37 +02:00
|
|
|
# Bind to given address to listen for JSON-RPC connections.
|
2021-07-13 03:57:38 +02:00
|
|
|
# Refer to the manpage or dashd -help for further details.
|
2015-03-22 03:05:17 +01:00
|
|
|
#rpcbind=<addr>
|
|
|
|
|
2017-01-04 12:59:26 +01:00
|
|
|
# If no rpcpassword is set, rpc cookie auth is sought. The default `-rpccookiefile` name
|
2018-01-18 17:07:17 +01:00
|
|
|
# is .cookie and found in the `-datadir` being used for dashd. This option is typically used
|
2017-01-04 12:59:26 +01:00
|
|
|
# when the server and client are run as the same user.
|
|
|
|
#
|
2018-11-08 18:56:36 +01:00
|
|
|
# If not, you must set rpcuser and rpcpassword to secure the JSON-RPC API.
|
2017-01-04 12:59:26 +01:00
|
|
|
#
|
2018-11-08 18:56:36 +01:00
|
|
|
# The config option `rpcauth` can be added to server startup argument. It is set at initialization time
|
2017-12-11 17:55:42 +01:00
|
|
|
# using the output from the script in share/rpcauth/rpcauth.py after providing a username:
|
2017-01-04 12:59:26 +01:00
|
|
|
#
|
2017-12-11 17:55:42 +01:00
|
|
|
# ./share/rpcauth/rpcauth.py alice
|
2018-01-18 17:07:17 +01:00
|
|
|
# String to be appended to dash.conf:
|
2017-01-04 12:59:26 +01:00
|
|
|
# rpcauth=alice:f7efda5c189b999524f151318c0c86$d5b51b3beffbc02b724e5d095828e0bc8b2456e9ac8757ae3211a5d9b16a22ae
|
|
|
|
# Your password:
|
|
|
|
# DONT_USE_THIS_YOU_WILL_GET_ROBBED_8ak1gI25KFTvjovL3gAM967mies3E=
|
|
|
|
#
|
|
|
|
# On client-side, you add the normal user/password pair to send commands:
|
|
|
|
#rpcuser=alice
|
|
|
|
#rpcpassword=DONT_USE_THIS_YOU_WILL_GET_ROBBED_8ak1gI25KFTvjovL3gAM967mies3E=
|
|
|
|
#
|
|
|
|
# You can even add multiple entries of these to the server conf file, and client can use any of them:
|
|
|
|
# rpcauth=bob:b2dd077cb54591a2f3139e69a897ac$4e71f08d48b4347cf8eff3815c0e25ae2e9a4340474079f55705f40574f4ec99
|
2014-06-10 11:43:27 +02:00
|
|
|
|
2016-08-19 13:46:30 +02:00
|
|
|
# How many seconds Dash Core will wait for a complete RPC HTTP request.
|
Merge #16812: doc: Fix whitespace errs in .md files, bitcoin.conf, and Info.plist.in
6aab7649d30b19d136a27f1287fd2c8b00fb460c doc: Fix whitespace errs in .md files, bitcoin.conf, Info.plist.in, and find_bdb48.m4 (Jon Layton)
Pull request description:
Although there is an existing `test/lint/lint-whitespace.sh` linter, it only prevents new errors from being introduced. This commit removes all existing whitespace errors from Core markdown files (skips `src/crypto/ctaes/`, `leveldb/`, and `doc/release-notes/`), `bitcoin.conf`, and `Info.plist.in`.
Further formatting could be done on the markdown documents, but seeing as there several coexisting styles that break a few `markdownlint` rules, a first step would be to define and add a linter to Travis. For now, the small fix is made.
ACKs for top commit:
fanquake:
ACK 6aab7649d30b19d136a27f1287fd2c8b00fb460c - Thanks for following up. Hopefully we now never have to deal with whitespace again.
Tree-SHA512: 810cc31ae4364b2dedf85783e67315d7b4e11589e4b32c599606e1b1ba8de0663bcae9ddb1bd8c9762a3636a2d65bdcd64ec22d2e90943f374a0c9574b77ca23
2019-09-17 10:33:29 +02:00
|
|
|
# after the HTTP connection is established.
|
2015-09-18 15:45:38 +02:00
|
|
|
#rpcclienttimeout=30
|
2011-10-25 22:48:36 +02:00
|
|
|
|
2014-06-10 11:43:27 +02:00
|
|
|
# By default, only RPC connections from localhost are allowed.
|
|
|
|
# Specify as many rpcallowip= settings as you like to allow connections from other hosts,
|
|
|
|
# either as a single IPv4/IPv6 or with a subnet specification.
|
|
|
|
|
|
|
|
# NOTE: opening up the RPC port to hosts outside your local trusted network is NOT RECOMMENDED,
|
|
|
|
# because the rpcpassword is transmitted over the network unencrypted.
|
|
|
|
|
2016-02-02 16:28:56 +01:00
|
|
|
# server=1 tells Dash-Qt to accept JSON-RPC commands.
|
2019-03-14 15:44:42 +01:00
|
|
|
# it is also read by dashd to determine if RPC should be enabled
|
2014-06-10 11:43:27 +02:00
|
|
|
#rpcallowip=10.1.1.34/255.255.255.0
|
|
|
|
#rpcallowip=1.2.3.4/24
|
|
|
|
#rpcallowip=2001:db8:85a3:0:0:8a2e:370:7334/96
|
2011-10-25 22:48:36 +02:00
|
|
|
|
|
|
|
# Listen for RPC connections on this TCP port:
|
2015-04-03 00:51:08 +02:00
|
|
|
#rpcport=9998
|
2011-10-25 22:48:36 +02:00
|
|
|
|
2015-03-19 15:15:08 +01:00
|
|
|
# You can use Dash or dashd to send commands to Dash/dashd
|
2011-10-25 22:48:36 +02:00
|
|
|
# running on another host using this option:
|
2014-06-10 11:43:27 +02:00
|
|
|
#rpcconnect=127.0.0.1
|
2011-10-25 22:48:36 +02:00
|
|
|
|
2018-11-08 18:56:36 +01:00
|
|
|
# Wallet options
|
|
|
|
|
2019-03-05 13:11:32 +01:00
|
|
|
# Specify where to find wallet, lockfile and logs. If not present, those files will be
|
|
|
|
# created as new.
|
|
|
|
#wallet=</path/to/dir>
|
|
|
|
|
2019-03-14 15:44:42 +01:00
|
|
|
# Create transactions that have enough fees so they are likely to begin confirmation within n blocks (default: 6).
|
2015-03-22 03:05:17 +01:00
|
|
|
# This setting is over-ridden by the -paytxfee option.
|
|
|
|
#txconfirmtarget=n
|
2011-10-25 22:48:36 +02:00
|
|
|
|
2018-11-08 18:56:36 +01:00
|
|
|
# Pay a transaction fee every time you send dash.
|
|
|
|
#paytxfee=0.000x
|
|
|
|
|
2011-10-25 22:48:36 +02:00
|
|
|
# Miscellaneous options
|
|
|
|
|
|
|
|
# Pre-generate this many public/private key pairs, so wallet backups will be valid for
|
|
|
|
# both prior transactions and several dozen future transactions.
|
2014-06-10 11:43:27 +02:00
|
|
|
#keypool=100
|
2011-10-25 22:48:36 +02:00
|
|
|
|
2021-05-02 07:50:08 +02:00
|
|
|
# Maintain coinstats index used by the gettxoutsetinfo RPC (default: 0).
|
|
|
|
#coinstatsindex=1
|
|
|
|
|
Merge #16812: doc: Fix whitespace errs in .md files, bitcoin.conf, and Info.plist.in
6aab7649d30b19d136a27f1287fd2c8b00fb460c doc: Fix whitespace errs in .md files, bitcoin.conf, Info.plist.in, and find_bdb48.m4 (Jon Layton)
Pull request description:
Although there is an existing `test/lint/lint-whitespace.sh` linter, it only prevents new errors from being introduced. This commit removes all existing whitespace errors from Core markdown files (skips `src/crypto/ctaes/`, `leveldb/`, and `doc/release-notes/`), `bitcoin.conf`, and `Info.plist.in`.
Further formatting could be done on the markdown documents, but seeing as there several coexisting styles that break a few `markdownlint` rules, a first step would be to define and add a linter to Travis. For now, the small fix is made.
ACKs for top commit:
fanquake:
ACK 6aab7649d30b19d136a27f1287fd2c8b00fb460c - Thanks for following up. Hopefully we now never have to deal with whitespace again.
Tree-SHA512: 810cc31ae4364b2dedf85783e67315d7b4e11589e4b32c599606e1b1ba8de0663bcae9ddb1bd8c9762a3636a2d65bdcd64ec22d2e90943f374a0c9574b77ca23
2019-09-17 10:33:29 +02:00
|
|
|
# Enable pruning to reduce storage requirements by deleting old blocks.
|
2021-05-02 07:50:08 +02:00
|
|
|
# This mode is incompatible with -txindex, -coinstatsindex and -rescan.
|
2017-03-31 09:26:33 +02:00
|
|
|
# 0 = default (no pruning).
|
|
|
|
# 1 = allows manual pruning via RPC.
|
2019-05-23 16:33:17 +02:00
|
|
|
# >=945 = target to stay under in MiB.
|
|
|
|
#prune=945
|
2017-03-31 09:26:33 +02:00
|
|
|
|
2011-10-25 22:48:36 +02:00
|
|
|
# User interface options
|
|
|
|
|
2015-03-18 00:06:58 +01:00
|
|
|
# Start Dash minimized
|
2011-10-25 22:48:36 +02:00
|
|
|
#min=1
|
|
|
|
|
|
|
|
# Minimize to the system tray
|
|
|
|
#minimizetotray=1
|
2019-03-05 13:11:32 +01:00
|
|
|
|
|
|
|
# [Sections]
|
|
|
|
# Most options apply to mainnet, testnet and regtest.
|
|
|
|
# If you want to confine an option to just one network, you should add it in the
|
|
|
|
# relevant section below.
|
|
|
|
# EXCEPTIONS: The options addnode, connect, port, bind, rpcport, rpcbind and wallet
|
|
|
|
# only apply to mainnet unless they appear in the appropriate section below.
|
|
|
|
|
|
|
|
# Options only for mainnet
|
|
|
|
[main]
|
|
|
|
|
|
|
|
# Options only for testnet
|
|
|
|
[test]
|
|
|
|
|
|
|
|
# Options only for regtest
|
|
|
|
[regtest]
|