Advertisement
Guest User

Untitled

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