Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- orion@orion:~/.dcrwallet$ cat dcrwallet.conf
- [Application Options]
- ; ------------------------------------------------------------------------------
- ; Decred wallet settings
- ; ------------------------------------------------------------------------------
- ; Use testnet (cannot be used with simnet=1).
- ; testnet=0
- ; Use simnet (cannot be used with testnet=1).
- ; simnet=0
- ; The directory to open and save wallet, transaction, and unspent transaction
- ; output files. Two directories, `mainnet` and `testnet` are used in this
- ; directory for mainnet and testnet wallets, respectively.
- ; appdata=~/.drcwallet
- ; Set txfee and ticketfee that will be used on startup. They can be changed with
- ; dcrctl --wallet settxfee/setticketfee as well
- ; txfee=0.01
- ; ticketfee=0.01
- ; ------------------------------------------------------------------------------
- ; 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 dcrd websocket connections.
- ; rpcconnect=localhost:19109
- ; File containing root certificates to authenticate a TLS connections with dcrd
- ; cafile=~/.dcrdwallet/dcrd.cert
- ; ------------------------------------------------------------------------------
- ; RPC server settings
- ; ------------------------------------------------------------------------------
- ; TLS certificate and key file locations
- ; rpccert=~/.drcwallet/rpc.cert
- ; rpckey=~/.drcwallet/rpc.key
- ; Curve to use when autogenerating TLS keypairs
- ; tlscurve=P-521
- ; 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.
- ; rpclisten= ; all interfaces on default port
- ; rpclisten=0.0.0.0 ; all ipv4 interfaces on default port
- ; rpclisten=:: ; all ipv6 interfaces on default port
- ; rpclisten=:9110 ; all interfaces on port 9110
- ; rpclisten=0.0.0.0:9110 ; all ipv4 interfaces on port 9110
- ; rpclisten=[::]:9110 ; all ipv6 interfaces on port 9110
- ; rpclisten=127.0.0.1:9110 ; only ipv4 localhost on port 9110 (this is a default)
- ; rpclisten=[::1]:9110 ; only ipv6 localhost on port 9110 (this is a default)
- ; rpclisten=127.0.0.1:18337 ; only ipv4 localhost on non-standard port 18337
- ; rpclisten=:18337 ; all interfaces on non-standard port 18337
- ; rpclisten=0.0.0.0:18337 ; all ipv4 interfaces on non-standard port 18337
- ; rpclisten=[::]:18337 ; all ipv6 interfaces on non-standard port 18337
- ; 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 a dcrd RPC server and authenticate
- ; new client connections to dcrwallet.
- username=REDACTED
- password=REDACTED
- ; Alternative username and password for dcrd. If set, these will be used
- ; instead of the username and password set above for authentication to a
- ; dcrd RPC server.
- ; dcrdusername=
- ; dcrdpassword=
- ; ------------------------------------------------------------------------------
- ; Debug
- ; ------------------------------------------------------------------------------
- ; Debug logging level.
- ; Valid options are {trace, debug, info, warn, error, critical}
- ; debuglevel=info
- ; The listen address(es) used to listen for HTTP profile requests. The profile
- ; server will only be enabled if any listen addresses are specified. The
- ; profile information can be accessed at http://<address>/debug/pprof once
- ; running.
- ; profile=:6062 ; listen on port 6062 on all interfaces (NOT recommended)
- ; profile=127.0.0.1:6062 ; listen on port 6062 on IPv4 loopback
- ; profile=[::1]:6062 ; listen on port 6062 on IPv6 loopback
- [Ticket Buyer Options]
- ; ------------------------------------------------------------------------------
- ; Ticket Buyer settings
- ; ------------------------------------------------------------------------------
- ; Scaling factor for setting the maximum price, multiplies by the average price
- ; e.g. 1.25 = 125%
- ; ticketbuyer.maxpricerelative=1.25
- ; Attempt to prevent the stake difficulty from going above this
- ; multiplier (>1.0) by manipulation, 0 to disable
- ; ticketbuyer.maxpricescale=2.0
- ; A target to try to seek setting the stake price to rather than meeting the
- ; average price, 0 to disable.
- ; ticketbuyer.pricetarget=0
- ; Spread ticket purchases evenly throughout the window
- ; ticketbuyer.spreadticketpurchases=0
- ; Maximum tickets per block, with negative numbers indicating buy one ticket
- ; every 1-in-n blocks
- ; ticketbuyer.maxperblock=5
- ; Scaling factor for setting the ticket fee, multiplies by the average fee
- ; e.g. 1.0 = 100%
- ; ticketbuyer.feetargetscaling=1.0
- ; The mode to use for calculating the average price if pricetarget is disabled
- ; (vwap, pool, dual)
- ; ticketbuyer.avgpricemode=vwap
- ; The number of blocks to use from the current block to calculate the VWAP
- ; ticketbuyer.avgpricevwapdelta=2880
- ; Maximum ticket fee per KB
- ticketbuyer.maxfee=0.5
- ; Minimum ticket fee per KB
- ticketbuyer.minfee=0.01
- ; The fee source to use for ticket fee per KB (median or mean)
- ; ticketbuyer.feesource=median
- ; Number of blocks to average for fees calculation
- ; ticketbuyer.blockstoavg=11
- ; The maximum number of your tickets allowed in mempool before purchasing more
- ; tickets
- ; ticketbuyer.maxinmempool=40
- ; Don't wait until your last round of tickets have entered the blockchain to
- ; attempt to purchase more
- ticketbuyer.dontwaitfortickets=1
- ; Number of blocks in the future before the ticket expires
- ; ticketbuyer.expirydelta=16
- ; Amount of funds to keep in wallet when stake mining
- ; ticketbuyer.balancetomaintainabsolute=0
- ; Proportion of funds to leave in wallet when stake mining
- ; ticketbuyer.balancetomaintainrelative=0.3
- ticketbuyer.maxpriceabsolute=50
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement