-
Notifications
You must be signed in to change notification settings - Fork 647
Expand file tree
/
Copy pathsample-btcwallet.conf
More file actions
206 lines (150 loc) · 7.1 KB
/
sample-btcwallet.conf
File metadata and controls
206 lines (150 loc) · 7.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
[Application Options]
; ------------------------------------------------------------------------------
; Bitcoin wallet settings
; ------------------------------------------------------------------------------
; Use testnet (cannot be used with simnet=1, testnet4=1 or regtest=1).
; testnet=0
; Use testnet4 (cannot be used with simnet=1, testnet=1 or regtest=1).
; testnet4=0
; Use simnet (cannot be used with testnet=1, testnet4=1 or regtest=1).
; simnet=0
; Use regtest (cannot be used with testnet=1, testnet4=1 or simnet=1).
; regtest=0
; The directory to open and save wallet, transaction, and unspent transaction
; output files. Two directories, `mainnet` and `testnet` (or `testnet4`) are
; used in this directory for mainnet and testnet wallets, respectively.
; appdata=~/.btcwallet
; DEPRECATED -- use appdata instead.
; datadir=
; ------------------------------------------------------------------------------
; RPC client settings
; ------------------------------------------------------------------------------
; Connect via a SOCKS5 proxy. NOTE: Specifying a proxy will disable listening
; for incoming connections unless listen addresses are provided via the
; 'rpclisten' option.
; proxy=127.0.0.1:9050
; proxyuser=
; proxypass=
; The server and port used for btcd websocket connections.
; rpcconnect=localhost:18334
; File containing root certificates to authenticate a TLS connections with btcd
; cafile=~/.btcwallet/btcd.cert
; ------------------------------------------------------------------------------
; RPC server settings
; ------------------------------------------------------------------------------
; TLS certificate and key file locations
; rpccert=~/.btcwallet/rpc.cert
; rpckey=~/.btcwallet/rpc.key
; Enable one time TLS keys. This option results in the process generating
; a new certificate pair each startup, writing only the certificate file
; to disk. This is a more secure option for clients that only interact with
; a local wallet process where persistent certs are not needed.
;
; This option will error at startup if the key specified by the rpckey option
; already exists.
; onetimetlskey=0
; Specify the interfaces for the RPC server listen on. One rpclisten address
; per line. Multiple rpclisten options may be set in the same configuration,
; and each will be used to listen for connections. NOTE: The default port is
; modified by some options such as 'testnet', so it is recommended to not
; specify a port and allow a proper default to be chosen unless you have a
; specific reason to do otherwise.
; Default:
; rpclisten=
; rpclisten=0.0.0.0 ; all ipv4 interfaces on default port
; rpclisten=:: ; all ipv6 interfaces on default port
; rpclisten=:8332 ; all interfaces on port 8332
; rpclisten=0.0.0.0:8332 ; all ipv4 interfaces on port 8332
; rpclisten=[::]:8332 ; all ipv6 interfaces on port 8332
; rpclisten=127.0.0.1:8332 ; only ipv4 localhost on port 8332
; rpclisten=[::1]:8332 ; only ipv6 localhost on port 8332
; rpclisten=127.0.0.1:8337 ; only ipv4 localhost on non-standard port 8337
; rpclisten=:8337 ; all interfaces on non-standard port 8337
; rpclisten=0.0.0.0:8337 ; all ipv4 interfaces on non-standard port 8337
; rpclisten=[::]:8337 ; all ipv6 interfaces on non-standard port 8337
; Legacy (Bitcoin Core-compatible) RPC listener addresses. Addresses without a
; port specified use the same default port as the new server. Listeners cannot
; be shared between both RPC servers.
;
; Adding any legacy RPC listen addresses disable all default rpclisten options.
; If both servers must run, all listen addresses must be manually specified for
; each.
; legacyrpclisten=
; ------------------------------------------------------------------------------
; RPC settings (both client and server)
; ------------------------------------------------------------------------------
; Username and password to authenticate to btcd a RPC server and authenticate
; new client connections
; username=
; password=
; Alternative username and password for btcd. If set, these will be used
; instead of the username and password set above for authentication to a
; btcd RPC server.
; btcdusername=
; btcdpassword=
; ------------------------------------------------------------------------------
; Debug
; ------------------------------------------------------------------------------
; Debug logging level.
; Valid options are {trace, debug, info, warn, error, critical}
; debuglevel=info
; The port used to listen for HTTP profile requests. The profile server will
; be disabled if this option is not specified. The profile information can be
; accessed at http://localhost:<profileport>/debug/pprof once running.
; profile=6062
; Directory to log output.
; logdir=~/.btcwallet/logs
; ------------------------------------------------------------------------------
; Wallet settings
; ------------------------------------------------------------------------------
; The timeout value to use when opening the wallet database.
; dbtimeout=1m
; The public wallet password -- Only required if the wallet was created with one.
; walletpass=
; Create the wallet if it does not exist.
; create=0
; Create a temporary simulation wallet (pass=password) in the data directory indicated.
; createtemp=0
; Defer wallet creation/opening on startup and enable loading wallets over RPC.
; noinitialload=0
; ------------------------------------------------------------------------------
; Peer-to-peer networking
; ------------------------------------------------------------------------------
; Enables the experimental use of SPV rather than RPC for chain synchronization.
; usespv=0
; Add a peer to connect with at startup.
; addpeer=
; Connect only to the specified peers at startup.
; connect=
; Max number of inbound and outbound peers.
; maxpeers=125
; How long to ban misbehaving peers. Valid time units are {s, m, h}.
; banduration=24h
; Maximum allowed ban score before disconnecting and banning misbehaving peers.
; banthreshold=100
; ------------------------------------------------------------------------------
; Alternative networks
; ------------------------------------------------------------------------------
; Use the signet test network.
; signet=0
; Connect to a custom signet network defined by this challenge instead of using
; the global default signet test network.
; signetchallenge=
; Specify a seed node for the signet network instead of using the global default
; signet network seed nodes.
; signetseednode=
; ------------------------------------------------------------------------------
; Advanced RPC settings
; ------------------------------------------------------------------------------
; Disable TLS for the RPC client -- NOTE: This is only allowed if the RPC client
; is connecting to localhost.
; noclienttls=0
; Disable TLS for the RPC server -- NOTE: This is only allowed if the RPC server
; is bound to localhost.
; noservertls=0
; Max number of legacy RPC clients for standard connections.
; rpcmaxclients=10
; Max number of legacy RPC websocket connections.
; rpcmaxwebsockets=25
; Listen for RPC connections on this interface/port.
; experimentalrpclisten=