Advertisement
Guest User

Untitled

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