decred.org/dcrdex@v1.0.5/client/cmd/bisonw/sample-dexc.conf (about) 1 [Application Options] 2 3 ; In addition to the config options listed below there is one more switch 4 ; which could useful when provided with dexc 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 ~/.dexc on UNIX OSes, 13 ; ~/Library/Application Support/Dexc on macOS and %localappdata%\Dexc on 14 ; Windows. 15 ; appdata=~/.dexc 16 17 ; Path to an INI configuration file. The default is ~/.dexc/dexc.conf. 18 ; config=~/.dexc/dexc.conf 19 20 ; Database filepath. Database will be created if it does not exist. The default 21 ; dir is network specific: 22 ; Mainnet: 23 ; db=~/.dexc/mainnet/dexc.db 24 ; Testnet: 25 ; db=~/.dexc/testnet/dexc.db 26 ; Simnet: 27 ; db=~/.dexc/simnet/dexc.db 28 29 ; Custom path for the 'site' directory containing static web files. 30 ; Default/unset causes bisonw to search a few common paths. The default will 31 ; work for most use cases. 32 ; sitedir= 33 34 ; ------------------------------------------------------------------------------ 35 ; Network settings 36 ; ------------------------------------------------------------------------------ 37 38 ; Use testnet. 39 ; Default is false. 40 ; testnet=true 41 42 ; Use simnet. 43 ; Default is false. 44 ; simnet=true 45 46 ; Connect via a SOCKS5 proxy. 47 ; torproxy=127.0.0.1:9050 48 49 ; Enable Tor stream isolation by randomizing proxy user credentials resulting in 50 ; Tor creating a new circuit for each connection. This makes it more difficult 51 ; to correlate connections. 52 ; Default is false. 53 ; torisolation=true 54 55 ; ------------------------------------------------------------------------------ 56 ; RPC server settings 57 ; ------------------------------------------------------------------------------ 58 59 ; Turn on RPC server. 60 ; Default is false. 61 ; rpc=true 62 63 ; RPC server listen address. The default value is network specific: 64 ; Mainnet: 65 ; rpcaddr=127.0.0.1:5757 66 ; Testnet: 67 ; rpcaddr=127.0.0.2:5757 68 ; Simnnet: 69 ; rpcaddr=127.0.0.3:5757 70 71 ; RPC server user name. 72 ; rpcuser= 73 74 ; RPC server password. 75 ; rpcpass= 76 77 ; RPC server certificate file location. 78 ; rpccert=~/.dexc/rpc.cert 79 80 ; RPC server key file location. 81 ; rpckey=~/.dexc/rpc.key 82 83 ; ------------------------------------------------------------------------------ 84 ; Web server settings 85 ; ------------------------------------------------------------------------------ 86 87 ; HTTP server listen address. The default value is network specific: 88 ; Mainnet: 89 ; webaddr=127.0.0.1:5758 90 ; Testnet: 91 ; webaddr=127.0.0.2:5758 92 ; Simnnet: 93 ; webaddr=127.0.0.3:5758 94 95 ; Disable the web server. This can be true only if RPC server is on(rpc=true). 96 ; Default is false. 97 ; noweb=true 98 99 ; Do not use the embedded webserver site resources, instead reading them from 100 ; disk. Reload the webserver's page template with every request. For development 101 ; purposes. 102 ; Default is false. 103 ; no-embed-site=true 104 105 ; ------------------------------------------------------------------------------ 106 ; Debug settings 107 ; ------------------------------------------------------------------------------ 108 109 ; Logging level {trace, debug, info, warn, error, critical} 110 ; log=debug 111 112 ; Use local time zone time stamps in log entries. 113 ; Default is false - UTC time zone is used. 114 ; loglocal=true 115 116 ; File for CPU profiling. e.g. bisonw.pprof. Disabled/empty by default. 117 ; cpuprofile= 118 119 ; Start HTTP profiler. 120 ; Default is false. 121 ; httpprof=true