Advertisement
Guest User

Untitled

a guest
Apr 20th, 2017
7,271
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.20 KB | None | 0 0
  1. orion@orion:~/.dcrwallet$ cat dcrwallet.conf
  2. [Application Options]
  3.  
  4. ; ------------------------------------------------------------------------------
  5. ; Decred wallet settings
  6. ; ------------------------------------------------------------------------------
  7.  
  8. ; Use testnet (cannot be used with simnet=1).
  9. ; testnet=0
  10.  
  11. ; Use simnet (cannot be used with testnet=1).
  12. ; simnet=0
  13.  
  14. ; The directory to open and save wallet, transaction, and unspent transaction
  15. ; output files. Two directories, `mainnet` and `testnet` are used in this
  16. ; directory for mainnet and testnet wallets, respectively.
  17. ; appdata=~/.drcwallet
  18.  
  19. ; Set txfee and ticketfee that will be used on startup. They can be changed with
  20. ; dcrctl --wallet settxfee/setticketfee as well
  21. ; txfee=0.01
  22. ; ticketfee=0.01
  23.  
  24.  
  25. ; ------------------------------------------------------------------------------
  26. ; RPC client settings
  27. ; ------------------------------------------------------------------------------
  28.  
  29. ; Connect via a SOCKS5 proxy. NOTE: Specifying a proxy will disable listening
  30. ; for incoming connections unless listen addresses are provided via the
  31. ; 'rpclisten' option.
  32. ; proxy=127.0.0.1:9050
  33. ; proxyuser=
  34. ; proxypass=
  35.  
  36. ; The server and port used for dcrd websocket connections.
  37. ; rpcconnect=localhost:19109
  38.  
  39. ; File containing root certificates to authenticate a TLS connections with dcrd
  40. ; cafile=~/.dcrdwallet/dcrd.cert
  41.  
  42.  
  43.  
  44. ; ------------------------------------------------------------------------------
  45. ; RPC server settings
  46. ; ------------------------------------------------------------------------------
  47.  
  48. ; TLS certificate and key file locations
  49. ; rpccert=~/.drcwallet/rpc.cert
  50. ; rpckey=~/.drcwallet/rpc.key
  51.  
  52. ; Curve to use when autogenerating TLS keypairs
  53. ; tlscurve=P-521
  54.  
  55. ; Enable one time TLS keys. This option results in the process generating
  56. ; a new certificate pair each startup, writing only the certificate file
  57. ; to disk. This is a more secure option for clients that only interact with
  58. ; a local wallet process where persistent certs are not needed.
  59. ;
  60. ; This option will error at startup if the key specified by the rpckey option
  61. ; already exists.
  62. ; onetimetlskey=0
  63.  
  64. ; Specify the interfaces for the RPC server listen on. One rpclisten address
  65. ; per line. Multiple rpclisten options may be set in the same configuration,
  66. ; and each will be used to listen for connections. NOTE: The default port is
  67. ; modified by some options such as 'testnet', so it is recommended to not
  68. ; specify a port and allow a proper default to be chosen unless you have a
  69. ; specific reason to do otherwise.
  70. ; rpclisten= ; all interfaces on default port
  71. ; rpclisten=0.0.0.0 ; all ipv4 interfaces on default port
  72. ; rpclisten=:: ; all ipv6 interfaces on default port
  73. ; rpclisten=:9110 ; all interfaces on port 9110
  74. ; rpclisten=0.0.0.0:9110 ; all ipv4 interfaces on port 9110
  75. ; rpclisten=[::]:9110 ; all ipv6 interfaces on port 9110
  76. ; rpclisten=127.0.0.1:9110 ; only ipv4 localhost on port 9110 (this is a default)
  77. ; rpclisten=[::1]:9110 ; only ipv6 localhost on port 9110 (this is a default)
  78. ; rpclisten=127.0.0.1:18337 ; only ipv4 localhost on non-standard port 18337
  79. ; rpclisten=:18337 ; all interfaces on non-standard port 18337
  80. ; rpclisten=0.0.0.0:18337 ; all ipv4 interfaces on non-standard port 18337
  81. ; rpclisten=[::]:18337 ; all ipv6 interfaces on non-standard port 18337
  82.  
  83. ; Legacy (Bitcoin Core-compatible) RPC listener addresses. Addresses without a
  84. ; port specified use the same default port as the new server. Listeners cannot
  85. ; be shared between both RPC servers.
  86. ;
  87. ; Adding any legacy RPC listen addresses disable all default rpclisten options.
  88. ; If both servers must run, all listen addresses must be manually specified for
  89. ; each.
  90. ; legacyrpclisten=
  91.  
  92.  
  93.  
  94. ; ------------------------------------------------------------------------------
  95. ; RPC settings (both client and server)
  96. ; ------------------------------------------------------------------------------
  97.  
  98. ; Username and password to authenticate to a dcrd RPC server and authenticate
  99. ; new client connections to dcrwallet.
  100. username=REDACTED
  101. password=REDACTED
  102.  
  103. ; Alternative username and password for dcrd. If set, these will be used
  104. ; instead of the username and password set above for authentication to a
  105. ; dcrd RPC server.
  106. ; dcrdusername=
  107. ; dcrdpassword=
  108.  
  109.  
  110. ; ------------------------------------------------------------------------------
  111. ; Debug
  112. ; ------------------------------------------------------------------------------
  113.  
  114. ; Debug logging level.
  115. ; Valid options are {trace, debug, info, warn, error, critical}
  116. ; debuglevel=info
  117.  
  118. ; The listen address(es) used to listen for HTTP profile requests. The profile
  119. ; server will only be enabled if any listen addresses are specified. The
  120. ; profile information can be accessed at http://<address>/debug/pprof once
  121. ; running.
  122. ; profile=:6062 ; listen on port 6062 on all interfaces (NOT recommended)
  123. ; profile=127.0.0.1:6062 ; listen on port 6062 on IPv4 loopback
  124. ; profile=[::1]:6062 ; listen on port 6062 on IPv6 loopback
  125.  
  126. [Ticket Buyer Options]
  127.  
  128. ; ------------------------------------------------------------------------------
  129. ; Ticket Buyer settings
  130. ; ------------------------------------------------------------------------------
  131.  
  132. ; Scaling factor for setting the maximum price, multiplies by the average price
  133. ; e.g. 1.25 = 125%
  134. ; ticketbuyer.maxpricerelative=1.25
  135.  
  136. ; Attempt to prevent the stake difficulty from going above this
  137. ; multiplier (>1.0) by manipulation, 0 to disable
  138. ; ticketbuyer.maxpricescale=2.0
  139.  
  140. ; A target to try to seek setting the stake price to rather than meeting the
  141. ; average price, 0 to disable.
  142. ; ticketbuyer.pricetarget=0
  143.  
  144. ; Spread ticket purchases evenly throughout the window
  145. ; ticketbuyer.spreadticketpurchases=0
  146.  
  147. ; Maximum tickets per block, with negative numbers indicating buy one ticket
  148. ; every 1-in-n blocks
  149. ; ticketbuyer.maxperblock=5
  150.  
  151. ; Scaling factor for setting the ticket fee, multiplies by the average fee
  152. ; e.g. 1.0 = 100%
  153. ; ticketbuyer.feetargetscaling=1.0
  154.  
  155. ; The mode to use for calculating the average price if pricetarget is disabled
  156. ; (vwap, pool, dual)
  157. ; ticketbuyer.avgpricemode=vwap
  158.  
  159. ; The number of blocks to use from the current block to calculate the VWAP
  160. ; ticketbuyer.avgpricevwapdelta=2880
  161.  
  162. ; Maximum ticket fee per KB
  163. ticketbuyer.maxfee=0.5
  164.  
  165. ; Minimum ticket fee per KB
  166. ticketbuyer.minfee=0.01
  167.  
  168. ; The fee source to use for ticket fee per KB (median or mean)
  169. ; ticketbuyer.feesource=median
  170.  
  171. ; Number of blocks to average for fees calculation
  172. ; ticketbuyer.blockstoavg=11
  173.  
  174. ; The maximum number of your tickets allowed in mempool before purchasing more
  175. ; tickets
  176. ; ticketbuyer.maxinmempool=40
  177.  
  178. ; Don't wait until your last round of tickets have entered the blockchain to
  179. ; attempt to purchase more
  180. ticketbuyer.dontwaitfortickets=1
  181.  
  182. ; Number of blocks in the future before the ticket expires
  183. ; ticketbuyer.expirydelta=16
  184.  
  185. ; Amount of funds to keep in wallet when stake mining
  186. ; ticketbuyer.balancetomaintainabsolute=0
  187.  
  188. ; Proportion of funds to leave in wallet when stake mining
  189. ; ticketbuyer.balancetomaintainrelative=0.3
  190.  
  191. ticketbuyer.maxpriceabsolute=50
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement