decred.org/dcrdex@v1.0.5/server/cmd/dcrdex/sample-dcrdex.conf (about) 1 [Application Options] 2 3 ; In addition to the config options listed below there is one more switch 4 ; which could be useful when provided with dcrdex via cli: 5 6 ; `--version` or `-v` - Display version information and exit. 7 8 ; ------------------------------------------------------------------------------ 9 ; Data settings 10 ; ------------------------------------------------------------------------------ 11 12 ; Path to application directory. The default is ~/.dcrdex on UNIX OSes, 13 ; ~/Library/Application Support/Dcrdex on macOS and %localappdata%\Dcrdex on 14 ; Windows. 15 ; appdata=~/.dcrdex 16 17 ; Path to an INI configuration file. The default is ~/.dcrdex/dcrdex.conf. 18 ; config=~/.dcrdex/dcrdex.conf 19 20 ; The directory to store data. The default is ~/.dcrdex/data on UNIX OSes and 21 ; ~/Library/Application Support/Dcrdex/data on macOS. 22 ; If relative path is used --appdata will be prepended. 23 ; datadir=~/.dcrdex/data 24 25 ; The logs output dir. The default is ~/dcrdex/logs. 26 ; If relative path is used --appdata will be prepended. 27 ; logdir=~/.dcrdex/logs 28 29 ; ------------------------------------------------------------------------------ 30 ; Logs settings 31 ; ------------------------------------------------------------------------------ 32 33 ; Logging level {trace, debug, info, warn, error, critical} 34 ; debuglevel=info 35 36 ; Use local time zone time stamps in log entries. 37 ; Default is false. 38 ; loglocal=true 39 40 ; The number of zipped log files created by the log rotator to be retained. 41 ; Setting to 0 will keep all. Default is 32. 42 ; maxlogzips=32 43 44 ; ------------------------------------------------------------------------------ 45 ; Network settings 46 ; ------------------------------------------------------------------------------ 47 48 ; Use testnet. 49 ; Default is false. 50 ; testnet=true 51 52 ; Use simnet. 53 ; Default is false. 54 ; simnet=true 55 56 ; ------------------------------------------------------------------------------ 57 ; RPC server settings 58 ; ------------------------------------------------------------------------------ 59 60 ; RPC server TLS certificate file. 61 ; Relative to --appdata or absolute path. 62 ; rpccert=rpc.cert 63 64 ; RPC server TLS private key file. 65 ; Relative to --appdata or absolute path. 66 ; rpckey=rpc.key 67 68 ; IP addresses on which the RPC server should listen for incoming connections. 69 ; Default is 127.0.0.1:7232. 70 ; rpclisten=127.0.0.1:7232 71 72 ; A list of hostnames to include in the RPC certificate (X509v3 Subject 73 ; Alternative Name) 74 ; altdnsnames= 75 76 ; ------------------------------------------------------------------------------ 77 ; Registration fee settings 78 ; ------------------------------------------------------------------------------ 79 80 ; NOTE: registration fee settings are specified in markets.json per asset. 81 82 ; ------------------------------------------------------------------------------ 83 ; PostgreSQL settings 84 ; ------------------------------------------------------------------------------ 85 86 ; PostgreSQL DB name. 87 ; Default value is network specific. 88 ; pgdbname=dcrdex_{network} 89 90 ; PostgreSQL DB user. 91 ; Default value is "dcrdex" 92 ; pguser=dcrdex 93 94 ; PostgreSQL DB password. 95 ; Can be omitted when UNIX socket is used. 96 ; HINT: check pg_hba.conf for postgresql authentication settings. 97 ; pgpass= 98 99 ; PostgreSQL server host:port or UNIX socket (e.g. /run/postgresql). 100 ; Default value is 127.0.0.1:5432 101 ; pghost=127.0.0.1:5432 102 103 ; Logs the PostgreSQL db configuration on start up. 104 ; Default is false. 105 ; showpgconfig=true 106 107 ; ------------------------------------------------------------------------------ 108 ; Admin server settings 109 ; ------------------------------------------------------------------------------ 110 111 ; Turn on the admin server. 112 ; Default is false. 113 ; adminsrvon=true 114 115 ; Administration HTTPS server address. 116 ; Default value is 127.0.0.1:6542. 117 ; adminsrvaddr=127.0.0.1:6542 118 119 ; Admin server password. 120 ; If not set, dcrdex will prompt "Admin interface password:". 121 ; adminsrvpass= 122 123 ; ------------------------------------------------------------------------------ 124 ; General settings 125 ; ------------------------------------------------------------------------------ 126 127 ; Path to the markets configuration JSON file. 128 ; Absolute path or relative to --appdata. 129 ; marketsconfpath=markets.json 130 131 ; The broadcast timeout specifies how long clients have to broadcast an expected 132 ; transaction when it is their turn to act. Matches without the expected action 133 ; by this time are revoked and the actor is penalized. 134 ; Default is 12 minutes. 135 ; bcasttimeout= 136 137 ; The path to a file containing the DEX private key for message signing. 138 ; Relative to --appdata or absolute path. 139 ; dexprivkeypath=sigkey 140 141 ; Password for encrypting/decrypting the dex privkey. 142 ; If not set, dcrdex will prompt "Signing key password:". 143 ; signingkeypass= 144 145 ; Cancellation rate threshold (cancels/all_completed). 146 ; Default value is 0.95 - 19 cancels : 1 success 147 ; cancelthresh=0.95 148 149 ; No cancellation rate enforcement (unlimited cancel orders). 150 ; Default is false. 151 ; freecancels=true 152 153 ; The maximum number of cancel orders allowed for a user in a given epoch. 154 ; Default value is 2. 155 ; maxepochcancels=2 156 157 ; The accumulated penalty score at which when a bond is revoked. 158 ; Default value is 20. 159 ; penaltythreshold=20 160 161 ; Start HTTP profiler. 162 ; Default is false. 163 ; httpprof=true. 164 165 ; File for CPU profiling. 166 ; cpuprofile= 167 168 ; Do not attempt to resume swaps that are active in the DB. 169 ; Default is false. 170 ; noresumeswaps=true 171 172 ; Disable the HTTP data API. 173 ; Default is false. 174 ; nodata=true