Advertisement
Guest User

Untitled

a guest
Jan 19th, 2017
203
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.80 KB | None | 0 0
  1. #########################################
  2. ### Basic Connectivity and Monitoring ###
  3. #########################################
  4. ## Login information for the daemon and wallet RPCs.
  5. ##
  6. ## ports daemon wallet
  7. ## mainnet default 9109 9110
  8. ## testnet default 19109 19110
  9. ## simnet default 19556 19557
  10. ##
  11. dcrduser=jure
  12. dcrdpass=ilyml
  13. #dcrdserv=127.0.0.1:19109
  14. #dcrdcert=path/to/.dcrd/rpc.cert
  15. dcrwuser=jure
  16. dcrwpass=ilyml
  17. #dcrwserv=127.0.0.1:19110
  18. #dcrwcert=path/to/.dcrwallet/rpc.cert
  19.  
  20. ## Enable the HTTP monitoring server bound to localhost,
  21. ## port 7770. Access in browser with:
  22. ## http://localhost:7770
  23. ## The optional parameter httpsvrbind allows you to
  24. ## bind the server externally or to another IP.
  25. httpsvrport=7770
  26.  
  27. ## The path to store CSV data for the Web UI.
  28. ## The default path is ~/.dcrticketbuyer/data
  29. #datadir=~/.dcrticketbuyer/data
  30.  
  31. ## Enable testnet. Set to false to use mainnet. Can not
  32. ## be used with simnet.
  33. testnet=0
  34.  
  35. ## Enable simnet. Can not be used with testnet.
  36. simnet=0
  37.  
  38. ##################################
  39. ### Basic Wallet Configuration ###
  40. ##################################
  41. ## The wallet account to use to buy tickets. If unset,
  42. ## it is the default account.
  43. #
  44. # accountname=default
  45.  
  46. ## Purchase at most 3 tickets per block. If this is set to
  47. ## negative numbers, the purchaser purchases 1 ticket every
  48. ## abs(n) blocks.
  49. #
  50. # maxperblock=3
  51.  
  52. ## Stop buying tickets if the mempool has more than
  53. ## 40 of your tickets in it.
  54. #
  55. # maxinmempool=40
  56.  
  57. ## Never spend more than 100.0 DCR on a ticket.
  58. #
  59. maxpriceabsolute=50.0
  60.  
  61. ## Try to leave this many coins remaining in the
  62. ## wallet.
  63. #
  64. balancetomaintain=0.0
  65.  
  66. ## All purchased tickets will expire in 16 blocks
  67. ## if they fail to exit the mempool and enter the
  68. ## blockchain.
  69. #
  70. expirydelta=16
  71.  
  72. ## Give ticket voting rights to this address. If
  73. ## no address is entered, voting rights go to the
  74. ## wallet that is purchasing the tickets.
  75. #
  76. # ticketaddress=TsfjLsBv6aKQoLmfPJUn3w6r6AB2JajoMrW
  77.  
  78. ## Enable pool ticket purchase mode and send 1.23%
  79. ## pool fees to this address. If this is commented
  80. ## out, pool mode is disabled.
  81. #
  82. # pooladdress=TsYxLCKr7qtsDxYaJ32zAQg3rFao6aGAHXh
  83. # poolfees=1.23
  84.  
  85. ########################################
  86. ### Price Manipulation and Targeting ###
  87. ########################################
  88. ## Do not purchase tickets if it will move the difficulty
  89. ## above this multiplier for the 'ideal' ticket price.
  90. ## e.g. if the ideal ticket price is 15.0 DCR, the program
  91. ## will prevent purchasing tickets if it drives the next
  92. ## stake difficulty above 30.0 DCR.
  93. ## The 'ideal' ticket price is calculated with every new
  94. ## block as (VWAP + ticketPoolAvgValue)/2.
  95. #
  96. # maxpricescale=2.0
  97.  
  98. ## Force the wallet to purchase tickets if the price
  99. ## is estimated to fall below this proportional amount
  100. ## of the 'ideal' ticket price. This prevents the stake
  101. ## difficulty from falling too low.
  102. ## e.g. if the ideal ticket price is 15.0 DCR, the program
  103. ## will force the purchasing tickets if it detects that
  104. ## the next stake difficulty will be below 10.5 DCR.
  105. #
  106. # minpricescale=0.7
  107.  
  108. ## The wallet normally targets the purchase of tickets
  109. ## to meet the average price of the market. A wallet
  110. ## with a large amount of DCR may wish to push the
  111. ## price of tickets higher. e.g. if the current
  112. ## average price of a ticket is 15 DCR, the user may
  113. ## think that tickets are too cheap and wants to
  114. ## move the average to 18 DCR. The user would then
  115. ## set this value to 18 DCR.
  116. ## A value of 0.0 disables this feature, and it is
  117. ## recommended to be left disabled unless you think
  118. ## you have enough DCR to be able to strongly move
  119. ## the average price.
  120. #
  121. # pricetarget=0.0
  122.  
  123. ##The exponential penalty to apply to the number of
  124. ##tickets to purchase above the ideal ticket pool price
  125. ## Default: 1.3
  126. #
  127. # highpricepenalty=1.3
  128.  
  129. ## Determine the average price of the ticket using any
  130. ## of the following methods:
  131. ## pool: use the average price in the ticket pool
  132. ## vwap: use the volume weighted average price
  133. ## dual: use the average of both the pool and VWAP
  134. ##
  135. ## Default: vwap
  136. #
  137. # avgpricemode=vwap
  138.  
  139. ## The number of blocks from the current chain tip
  140. ## to use in the calculation of the ticket volume
  141. ## weighted average price. The default is 2880, or
  142. ## 10 days on mainnet.
  143. #
  144. # avgpricevwapdelta=2880
  145.  
  146. ###################################
  147. ### Ticket and Transaction Fees ###
  148. ###################################
  149. ## The maximum allowable fee in a competitive market
  150. ## for tickets is 1.00 DCR/KB.
  151. ## Note that by default, the maximum the wallet will
  152. ## allow you to set is 1.00 DCR/KB. You can allow
  153. ## higher fees by turning on the --allowhighfees flag
  154. ## when starting wallet.
  155. #
  156. maxfee=0.50
  157.  
  158. ## The minimum allowable fee in a competitive market
  159. ## for tickets is 0.01 DCR/KB.
  160. #
  161. minfee=0.011
  162.  
  163. ## Use the mean of block or difficulty window periods
  164. ## to determine the fees to use in your tickets.
  165. ## Alternatively the median may be used with 'median'.
  166. #
  167. # feesource=mean
  168.  
  169. ## The proportion to use above the mean/median for
  170. ## your tickets. e.g. If the network mean for the
  171. ## last 11 blocks is 0.10, use 105%*0.10 = 0.105
  172. ## DCR/KB as your ticket fee.
  173. #
  174. # feetargetscaling=1.05
  175.  
  176. ## Set the transaction fees to 0.01 DCR/KB. This fee is
  177. ## used when generating consolidations of smaller UTXOs
  178. ## that are immediately consumed by a ticket purchase.
  179. #
  180. # txfee=0.01
  181.  
  182. ## The number of previous blocks to average to calculate
  183. ## what fees to use. If there are not enough blocks in
  184. ## this window yet, the software will scan old difficulty
  185. ## periods for the one with the price closest to the
  186. ## current price and use the average fees from that
  187. ## period for deciding what fee to use.
  188. #
  189. # blockstoavg=11
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement