Skip to content

Commit 74df31c

Browse files
committed
[doc] update example bitcoin.conf with missing options
1 parent 8082f88 commit 74df31c

File tree

1 file changed

+76
-3
lines changed

1 file changed

+76
-3
lines changed

share/examples/bitcoin.conf

+76-3
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,82 @@
1212
### Options
1313

1414

15+
# Execute command when an alert is raised (%s in cmd is replaced by
16+
# message)
17+
#alertnotify=<cmd>
18+
19+
# For backwards compatibility, treat an unused bitcoin.conf file in the
20+
# datadir as a warning, not an error.
21+
#allowignoredconf=1
22+
23+
# If this block is in the chain assume that it and its ancestors are valid
24+
# and potentially skip their script verification (0 to verify all,
25+
# default:
26+
# 00000000000000000001b658dd1120e82e66d2790811f89ede9742ada3ed6d77,
27+
# testnet3:
28+
# 00000000000003fc7967410ba2d0a8a8d50daedc318d43e8baf1a9782c236a57,
29+
# testnet4:
30+
# 0000000000003ed4f08dbdf6f7d6b271a6bcffce25675cb40aa9fa43179a89f3,
31+
# signet:
32+
# 000000895a110f46e59eb82bbc5bfb67fa314656009c295509c21b4999f5180a)
33+
#assumevalid=<hex>
34+
35+
# Maintain an index of compact filters by block (default: 0, values:
36+
# basic). If <type> is not supplied or if <type> = 1, indexes for
37+
# all known types are enabled.
38+
#blockfilterindex=<type>
39+
40+
# Execute command when the best block changes (%s in cmd is replaced by
41+
# block hash)
42+
#blocknotify=<cmd>
43+
44+
# Extra transactions to keep in memory for compact block reconstructions
45+
# (default: 100)
46+
#blockreconstructionextratxn=<n>
47+
48+
# Specify directory to hold blocks subdirectory for *.dat files (default:
49+
# <datadir>)
50+
#blocksdir=<dir>
51+
52+
# Whether to reject transactions from network peers. Disables automatic
53+
# broadcast and rebroadcast of transactions, unless the source peer
54+
# has the 'forcerelay' permission. RPC transactions are not
55+
# affected. (default: 0)
56+
#blocksonly=1
57+
58+
# Whether an XOR-key applies to blocksdir *.dat files. The created XOR-key
59+
# will be zeros for an existing blocksdir or when `-blocksxor=0` is
60+
# set, and random for a freshly initialized blocksdir. (default: 1)
61+
#blocksxor=1
62+
63+
# Maintain coinstats index used by the gettxoutsetinfo RPC (default: 0)
64+
#coinstatsindex=1
65+
66+
# Specify path to read-only configuration file. Relative paths will be
67+
# prefixed by datadir location (only useable from command line, not
68+
# configuration file) (default: bitcoin.conf)
69+
#conf=<file>
70+
71+
# Run in the background as a daemon and accept commands (default: 0)
72+
#daemon=1
73+
74+
# Wait for initialization to be finished before exiting. This implies
75+
# -daemon (default: 0)
76+
#daemonwait=1
77+
78+
# Specify data directory
79+
#datadir=<dir>
80+
81+
# Maximum database cache size <n> MiB (minimum 4, default: 450). Make sure
82+
# you have enough RAM. In addition, unused memory allocated to the
83+
# mempool is shared with this cache (see -maxmempool).
84+
#dbcache=<n>
85+
86+
# Specify location of debug log file (default: debug.log). Relative paths
87+
# will be prefixed by a net-specific datadir location. Pass
88+
# -nodebuglogfile to disable writing the log to a file.
89+
#debuglogfile=<file>
90+
1591
# Specify additional configuration file, relative to the -datadir path
1692
# (only useable from configuration file, not command line)
1793
#includeconf=<file>
@@ -428,9 +504,6 @@
428504
# takes priority over "-debug"
429505
#debugexclude=<category>
430506

431-
# Print help message with debugging options and exit
432-
#help-debug=1
433-
434507
# Include IP addresses in debug output (default: 0)
435508
#logips=1
436509

0 commit comments

Comments
 (0)