decred.org/dcrwallet/v3@v3.1.0/sample-dcrwallet.conf (about) 1 [Application Options] 2 3 ; ------------------------------------------------------------------------------ 4 ; Decred wallet settings 5 ; ------------------------------------------------------------------------------ 6 7 ; Use testnet (cannot be used with simnet=1). 8 ; testnet=0 9 10 ; Use simnet (cannot be used with testnet=1). 11 ; simnet=0 12 13 ; Set the private wallet passphrase. This option enables unlocking the wallet 14 ; as well as running the ticketbuyer at startup without using the private 15 ; passphrase prompt (--promptpass), it may reduce security. This should 16 ; only be used for voting-only wallets or wallets with minimal balances, and 17 ; in cases where the wallet needs to be unlocked at startup so it can be run 18 ; automatically (e.g. as a system service). 19 ; pass= 20 21 ; Enable the wallet to vote on tickets. If this is a voting-only wallet, set 22 ; this option to 1 and optionally also set the wallet passphrase with the "pass" 23 ; flag. 24 ; enablevoting=0 25 26 ; The directory to open and save wallet, transaction, and unspent transaction 27 ; output files. Two directories, `mainnet` and `testnet` are used in this 28 ; directory for mainnet and testnet wallets, respectively. 29 ; appdata=~/.dcrwallet 30 31 ; Set txfee that will be used on startup. They can be changed with 32 ; dcrctl --wallet settxfee as well 33 ; txfee=0.0001 34 35 ; Set a number of unused address gap limit defined by BIP0044 36 ; gaplimit=20 37 38 ; Set number of accounts that can be created in a row without using any of them. 39 ; It also changes a number of accounts that will be scanned during seed restoration 40 ; accountgaplimit=10 41 42 ; Disable coin type upgrades from the legacy to SLIP0044 coin type keys even 43 ; when no address usage is discovered on the legacy coin type 44 ; disablecointypeupgrades=0 45 46 ; ------------------------------------------------------------------------------ 47 ; RPC client settings 48 ; ------------------------------------------------------------------------------ 49 50 ; The server and port used for dcrd websocket connections. 51 ; rpcconnect=localhost:9109 52 53 ; File containing root certificates to authenticate TLS connections with dcrd 54 ; cafile=~/.dcrwallet/dcrd.cert 55 56 57 58 ; ------------------------------------------------------------------------------ 59 ; Proxy/Tor settings 60 ; ------------------------------------------------------------------------------ 61 62 ; Connect via a SOCKS5 proxy. NOTE: Specifying a proxy will disable listening 63 ; for incoming RPC connections unless listen addresses are provided via the 64 ; 'rpclisten' option. 65 ; proxy=127.0.0.1:9050 66 ; proxyuser= 67 ; proxypass= 68 69 ; Enable Tor stream isolation by randomizing user credentials for 70 ; each connection. 71 ; torisolation=0 72 73 ; Set maximum number of open Tor circuits; used only when --torisolation 74 ; is enabled. 75 ; circuitlimit=32 76 77 ; Never use configured proxy to dial dcrd websocket connectons. When enabled, 78 ; the proxy will be used to dial the CSPP server. 79 ; nodcrdproxy=0 80 81 82 ; ------------------------------------------------------------------------------ 83 ; CoinShuffle++ settings 84 ; ------------------------------------------------------------------------------ 85 86 ; Network address of CoinShuffle++ server. When connecting through Tor via a 87 ; SOCKS5 proxy, an .onion address can be specified. 88 ; csppserver= 89 90 ; File containing the CA certificate of the CoinShuffle++ server. If unset, 91 ; the default trusted roots will be used. 92 ; csppserver.ca= 93 94 ; Account/branch used to derive CoinShuffle++ mixed outputs and voting rewards. 95 ; mixedaccount= 96 97 ; Account to derive fresh addresses from for mixed ticket splits. 98 ; If unset, it uses mixedaccount. 99 ; ticketsplitaccount= 100 101 ; Account used to derive unmixed CoinJoin outputs in CoinShuffle++ protocol. 102 ; changeaccount= 103 104 ; Use CoinShuffle++ to mix change account outputs into mix account. 105 ; mixchange=0 106 107 108 ; ------------------------------------------------------------------------------ 109 ; RPC server settings 110 ; ------------------------------------------------------------------------------ 111 112 ; TLS certificate and key file locations 113 ; rpccert=~/.dcrwallet/rpc.cert 114 ; rpckey=~/.dcrwallet/rpc.key 115 116 ; Curve to use when autogenerating TLS keypairs 117 ; tlscurve=P-256 118 119 ; Enable one time TLS keys. This option results in the process generating 120 ; a new certificate pair each startup, writing only the certificate file 121 ; to disk. This is a more secure option for clients that only interact with 122 ; a local wallet process where persistent certs are not needed. 123 ; 124 ; This option will error at startup if the key specified by the rpckey option 125 ; already exists. 126 ; onetimetlskey=0 127 128 ; Specify the interfaces for the RPC server listen on, one listen address 129 ; per line. Multiple options may be set in the same configuration, 130 ; and each will be used to listen for connections. NOTE: The default port is 131 ; modified by some options such as 'testnet', so it is recommended to not 132 ; specify a port and allow a proper default to be chosen unless you have a 133 ; specific reason to do otherwise. 134 ; 135 ; These option semantics apply to both the rpclisten and grpclisten options. 136 ; rpclisten sets the listeners for the JSON-RPC server while grpclisten 137 ; modifies the listeners for the gRPC server. 138 ; 139 ; By default, the JSON-RPC server listens on localhost addresses on port 140 ; 9110, and the gRPC server listens on localhost addresses on port 9111. 141 ; 142 ; all interfaces on default port: 143 ; rpclisten= 144 ; all ipv4 interfaces on default port: 145 ; rpclisten=0.0.0.0 146 ; all ipv6 interfaces on default port: 147 ; rpclisten=:: 148 ; all interfaces on port 9110: 149 ; rpclisten=:9110 150 ; all ipv4 interfaces on port 9110: 151 ; rpclisten=0.0.0.0:9110 152 ; all ipv6 interfaces on port 9110: 153 ; rpclisten=[::]:9110 154 ; only ipv4 localhost on port 9110 (this is a default): 155 ; rpclisten=127.0.0.1:9110 156 ; only ipv6 localhost on port 9110 (this is a default): 157 ; rpclisten=[::1]:9110 158 ; only ipv4 localhost on non-standard port 18337: 159 ; rpclisten=127.0.0.1:18337 160 ; all interfaces on non-standard port 18337: 161 ; rpclisten=:18337 162 ; all ipv4 interfaces on non-standard port 18337: 163 ; rpclisten=0.0.0.0:18337 164 ; all ipv6 interfaces on non-standard port 18337: 165 ; rpclisten=[::]:18337 166 167 ; Disable the JSON-RPC (nolegacyrpc) or gRPC (nogrpc) servers 168 ; nolegacyrpc=0 169 ; nogrpc=0 170 171 ; JSON-RPC (Bitcoin Core-compatible) RPC listener addresses. Addresses without a 172 ; port specified use the same default port as the new server. Listeners cannot 173 ; be shared between both RPC servers. 174 ; 175 ; Adding any JSON-RPC listen addresses disable all default rpclisten options. 176 ; If both servers must run, all listen addresses must be manually specified for 177 ; each. 178 ; legacyrpclisten= 179 180 181 182 ; ------------------------------------------------------------------------------ 183 ; RPC settings (both client and server) 184 ; ------------------------------------------------------------------------------ 185 186 ; Username and password to authenticate to a dcrd RPC server and authenticate 187 ; new client connections to dcrwallet. 188 ; username= 189 ; password= 190 191 ; Alternative username and password for dcrd. If set, these will be used 192 ; instead of the username and password set above for authentication to a 193 ; dcrd RPC server. 194 ; dcrdusername= 195 ; dcrdpassword= 196 197 198 ; ------------------------------------------------------------------------------ 199 ; Debug 200 ; ------------------------------------------------------------------------------ 201 202 ; Debug logging level. 203 ; Valid options are {trace, debug, info, warn, error, critical} 204 ; debuglevel=info 205 206 ; The listen address(es) used to listen for HTTP profile requests. The profile 207 ; server will only be enabled if any listen addresses are specified. The 208 ; profile information can be accessed at http://<address>/debug/pprof once 209 ; running. 210 ; 211 ; listen on port 6062 on all interfaces (NOT recommended): 212 ; profile=:6062 213 ; listen on port 6062 on IPv4 loopback: 214 ; profile=127.0.0.1:6062 215 ; listen on port 6062 on IPv6 loopback: 216 ; profile=[::1]:6062 217 218 [Ticket Buyer Options] 219 220 ; ------------------------------------------------------------------------------ 221 ; Ticket Buyer settings 222 ; ------------------------------------------------------------------------------ 223 224 ; Amount of funds to keep in wallet when stake mining 225 ; ticketbuyer.balancetomaintainabsolute=0 226 227 [VSP Options] 228 229 ; ------------------------------------------------------------------------------ 230 ; VSP settings 231 ; ------------------------------------------------------------------------------ 232 233 ; The URL of the VSP. 234 ; vsp.url=https://teststakepool.decred.org 235 236 ; The base64 encoded public key of the VSP server. This can be found on the 237 ; VSP website in the footer. 238 ; vsp.pubkey=ia9Ra2Drb+OHLqRyBsJnRKBd7TUG1IvrseC6robKzGo=