Advertisement
Guest User

Untitled

a guest
Apr 27th, 2018
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.61 KB | None | 0 0
  1. [Application Options]
  2.  
  3. ; ------------------------------------------------------------------------------
  4. ; Data settings
  5. ; ------------------------------------------------------------------------------
  6.  
  7. ; The directory to store data such as the block chain and peer addresses. The
  8. ; block chain takes several GB, so this location must have a lot of free space.
  9. ; The default is ~/.dcrd/data on POSIX OSes, $LOCALAPPDATA/Dcrd/data on Windows,
  10. ; ~/Library/Application Support/Dcrd/data on Mac OS, and $homed/dcrd/data on
  11. ; Plan9. Environment variables are expanded so they may be used. NOTE: Windows
  12. ; environment variables are typically %VARIABLE%, but they must be accessed with
  13. ; $VARIABLE here. Also, ~ is expanded to $LOCALAPPDATA on Windows.
  14. ; datadir=~/.dcrd/data
  15.  
  16.  
  17. ; ------------------------------------------------------------------------------
  18. ; Network settings
  19. ; ------------------------------------------------------------------------------
  20.  
  21. ; Use testnet.
  22. ; testnet=1
  23.  
  24. ; Use simnet.
  25. ; simnet=1
  26.  
  27. ; Connect via a SOCKS5 proxy. NOTE: Specifying a proxy will disable listening
  28. ; for incoming connections unless listen addresses are provided via the 'listen'
  29. ; option.
  30. ; proxy=127.0.0.1:9050
  31. ; proxyuser=
  32. ; proxypass=
  33.  
  34. ; The SOCKS5 proxy above is assumed to be Tor (https://www.torproject.org).
  35. ; If the proxy is not tor the the following my be used to prevent using
  36. ; tor specific SOCKS queries to lookup addresses (this increases anonymity when
  37. ; tor is used by preventing your IP being leaked via DNS).
  38. ; noonion=1
  39.  
  40. ; Use an alternative proxy to connect to .onion addresses. The proxy is assumed
  41. ; to be a Tor node. Non .onion addresses will be contacted with the main proxy
  42. ; or without a proxy if none is set.
  43. ; onion=127.0.0.1:9051
  44. ; onionuser=
  45. ; onionpass=
  46.  
  47. ; Enable Tor stream isolation by randomizing proxy user credentials resulting in
  48. ; Tor creating a new circuit for each connection. This makes it more difficult
  49. ; to correlate connections.
  50. ; torisolation=1
  51.  
  52. ; Use Universal Plug and Play (UPnP) to automatically open the listen port
  53. ; and obtain the external IP address from supported devices. NOTE: This option
  54. ; will have no effect if exernal IP addresses are specified.
  55. ; upnp=1
  56.  
  57. ; Specify the external IP addresses your node is listening on. One address per
  58. ; line. dcrd will not contact 3rd-party sites to obtain external ip addresses.
  59. ; This means if you are behind NAT, your node will not be able to advertise a
  60. ; reachable address unless you specify it here or enable the 'upnp' option (and
  61. ; have a supported device).
  62. ; externalip=1.2.3.4
  63. ; externalip=2002::1234
  64.  
  65. ; ******************************************************************************
  66. ; Summary of 'addpeer' versus 'connect'.
  67. ;
  68. ; Only one of the following two options, 'addpeer' and 'connect', may be
  69. ; specified. Both allow you to specify peers that you want to stay connected
  70. ; with, but the behavior is slightly different. By default, dcrd will query DNS
  71. ; to find peers to connect to, so unless you have a specific reason such as
  72. ; those described below, you probably won't need to modify anything here.
  73. ;
  74. ; 'addpeer' does not prevent connections to other peers discovered from
  75. ; the peers you are connected to and also lets the remote peers know you are
  76. ; available so they can notify other peers they can to connect to you. This
  77. ; option might be useful if you are having problems finding a node for some
  78. ; reason (perhaps due to a firewall).
  79. ;
  80. ; 'connect', on the other hand, will ONLY connect to the specified peers and
  81. ; no others. It also disables listening (unless you explicitly set listen
  82. ; addresses via the 'listen' option) and DNS seeding, so you will not be
  83. ; advertised as an available peer to the peers you connect to and won't accept
  84. ; connections from any other peers. So, the 'connect' option effectively allows
  85. ; you to only connect to "trusted" peers.
  86. ; ******************************************************************************
  87.  
  88. ; Add persistent peers to connect to as desired. One peer per line.
  89. ; You may specify each IP address with or without a port. The default port will
  90. ; be added automatically if one is not specified here.
  91. ; addpeer=192.168.1.1
  92. ; addpeer=10.0.0.2:9108
  93. ; addpeer=fe80::1
  94. ; addpeer=[fe80::2]:9108
  95.  
  96. ; Add persistent peers that you ONLY want to connect to as desired. One peer
  97. ; per line. You may specify each IP address with or without a port. The
  98. ; default port will be added automatically if one is not specified here.
  99. ; NOTE: Specifying this option has other side effects as described above in
  100. ; the 'addpeer' versus 'connect' summary section.
  101. ; connect=192.168.1.1
  102. ; connect=10.0.0.2:9108
  103. ; connect=fe80::1
  104. ; connect=[fe80::2]:9108
  105.  
  106. ; Maximum number of inbound and outbound peers.
  107. ; maxpeers=8
  108.  
  109. ; Disable banning of misbehaving peers.
  110. ; nobanning=1
  111.  
  112. ; Maximum allowed ban score before disconnecting and banning misbehaving peers.
  113. ; banthreshold=100
  114.  
  115. ; How long to ban misbehaving peers. Valid time units are {s, m, h}.
  116. ; Minimum 1s.
  117. ; banduration=24h
  118. ; banduration=11h30m15s
  119.  
  120. ; Add whitelisted IP networks and IPs. Connected peers whose IP matches a
  121. ; whitelist will not have their ban score increased.
  122. ; whitelist=127.0.0.1
  123. ; whitelist=::1
  124. ; whitelist=192.168.0.0/24
  125. ; whitelist=fd00::/16
  126.  
  127. ; Disable DNS seeding for peers. By default, when dcrd starts, it will use
  128. ; DNS to query for available peers to connect with.
  129. ; nodnsseed=1
  130.  
  131. ; Specify the interfaces to listen on. One listen address per line.
  132. ; NOTE: The default port is modified by some options such as 'testnet', so it is
  133. ; recommended to not specify a port and allow a proper default to be chosen
  134. ; unless you have a specific reason to do otherwise.
  135. ; All interfaces on default port (this is the default):
  136. ; listen=
  137. ; All ipv4 interfaces on default port:
  138. ; listen=0.0.0.0
  139. ; All ipv6 interfaces on default port:
  140. ; listen=::
  141. ; All interfaces on port 9108:
  142. ; listen=:9108
  143. ; All ipv4 interfaces on port 9108:
  144. ; listen=0.0.0.0:9108
  145. ; All ipv6 interfaces on port 9108:
  146. ; listen=[::]:9108
  147. ; Only ipv4 localhost on port 9108:
  148. ; listen=127.0.0.1:9108
  149. ; Only ipv6 localhost on port 9108:
  150. ; listen=[::1]:9108
  151. ; Only ipv4 localhost on non-standard port 8336:
  152. ; listen=127.0.0.1:8336
  153. ; All interfaces on non-standard port 8336:
  154. ; listen=:8336
  155. ; All ipv4 interfaces on non-standard port 8336:
  156. ; listen=0.0.0.0:8336
  157. ; All ipv6 interfaces on non-standard port 8336:
  158. ; listen=[::]:8336
  159.  
  160. ; Disable listening for incoming connections. This will override all listeners.
  161. ; nolisten=1
  162.  
  163. ; Disable peer bloom filtering. See BIP0111.
  164. ; nopeerbloomfilters=1
  165.  
  166.  
  167. ; ------------------------------------------------------------------------------
  168. ; RPC server options - The following options control the built-in RPC server
  169. ; which is used to control and query information from a running dcrd process.
  170. ;
  171. ; NOTE: The RPC server is disabled by default if no rpcuser or rpcpass is
  172. ; specified.
  173. ; ------------------------------------------------------------------------------
  174.  
  175. ; Secure the RPC API by specifying the username and password. You must specify
  176. ; both or the RPC server will be disabled.
  177. rpcuser=lucas-eokoe
  178. rpcpass=Wtvs5lMPqACQJ89HN4A/MrZxhjS7/ZCq
  179.  
  180. ; Specify the interfaces for the RPC server listen on. One listen address per
  181. ; line. NOTE: The default port is modified by some options such as 'testnet',
  182. ; so it is recommended to not specify a port and allow a proper default to be
  183. ; chosen unless you have a specific reason to do otherwise. By default, the
  184. ; RPC server will only listen on localhost for IPv4 and IPv6.
  185. ; All interfaces on default port:
  186. ; rpclisten=
  187. ; All ipv4 interfaces on default port:
  188. ; rpclisten=0.0.0.0
  189. ; All ipv6 interfaces on default port:
  190. ; rpclisten=::
  191. ; All interfaces on port 9109:
  192. ; rpclisten=:9109
  193. ; All ipv4 interfaces on port 9109:
  194. ; rpclisten=0.0.0.0:9109
  195. ; All ipv6 interfaces on port 9109:
  196. ; rpclisten=[::]:9109
  197. ; Only ipv4 localhost on port 9109:
  198. ; rpclisten=127.0.0.1:9109
  199. ; Only ipv6 localhost on port 9109:
  200. ; rpclisten=[::1]:9109
  201. ; Only ipv4 localhost on non-standard port 8337:
  202. ; rpclisten=127.0.0.1:8337
  203. ; All interfaces on non-standard port 8337:
  204. ; rpclisten=:8337
  205. ; All ipv4 interfaces on non-standard port 8337:
  206. ; rpclisten=0.0.0.0:8337
  207. ; All ipv6 interfaces on non-standard port 8337:
  208. ; rpclisten=[::]:8337
  209.  
  210. ; Specify the maximum number of concurrent RPC clients for standard connections.
  211. ; rpcmaxclients=10
  212.  
  213. ; Specify the maximum number of concurrent RPC websocket clients.
  214. ; rpcmaxwebsockets=25
  215.  
  216. ; Use the following setting to disable the RPC server even if the rpcuser and
  217. ; rpcpass are specified above. This allows one to quickly disable the RPC
  218. ; server without having to remove credentials from the config file.
  219. ; norpc=1
  220.  
  221.  
  222.  
  223. ; ------------------------------------------------------------------------------
  224. ; Mempool Settings - The following options
  225. ; ------------------------------------------------------------------------------
  226.  
  227. ; Set the minimum transaction fee to be considered a non-zero fee,
  228. ; minrelaytxfee=0.01
  229.  
  230. ; Rate-limit free transactions to the value 15 * 1000 bytes per
  231. ; minute.
  232. ; limitfreerelay=15
  233.  
  234. ; Require high priority for relaying free or low-fee transactions.
  235. ; norelaypriority=0
  236.  
  237. ; Limit orphan transaction pool to 1000 transactions.
  238. ; maxorphantx=1000
  239.  
  240. ; Do not accept transactions from remote peers.
  241. ; blocksonly=1
  242.  
  243. ; Relay non-standard transactions regardless of default network settings.
  244. ; relaynonstd=1
  245.  
  246. ; Reject non-standard transactions regardless of default network settings.
  247. ; rejectnonstd=1
  248.  
  249.  
  250. ; ------------------------------------------------------------------------------
  251. ; Optional Transaction Indexes
  252. ; ------------------------------------------------------------------------------
  253.  
  254. ; Delete the entire address index on start up, then exit.
  255. ; dropaddrindex=0
  256.  
  257.  
  258. ; ------------------------------------------------------------------------------
  259. ; Optional Indexes
  260. ; ------------------------------------------------------------------------------
  261.  
  262. ; Build and maintain a full hash-based transaction index which makes all
  263. ; transactions available via the getrawtransaction RPC.
  264. ; txindex=1
  265.  
  266. ; Build and maintain a full address-based transaction index which makes the
  267. ; searchrawtransactions RPC available.
  268. ; addrindex=1
  269.  
  270.  
  271. ; ------------------------------------------------------------------------------
  272. ; Signature Verification Cache
  273. ; ------------------------------------------------------------------------------
  274.  
  275. ; Limit the signature cache to a max of 50000 entries.
  276. ; sigcachemaxsize=50000
  277.  
  278.  
  279. ; ------------------------------------------------------------------------------
  280. ; Coin Generation (Mining) Settings - The following options control the
  281. ; generation of block templates used by external mining applications through RPC
  282. ; calls as well as the built-in CPU miner (if enabled).
  283. ; ------------------------------------------------------------------------------
  284.  
  285. ; Enable built-in CPU mining.
  286. ;
  287. ; NOTE: This is typically only useful for testing purposes such as testnet or
  288. ; simnet since the difficutly on mainnet is far too high for CPU mining to be
  289. ; worth your while.
  290. ; generate=false
  291.  
  292. ; Add addresses to pay mined blocks to for CPU mining and the block templates
  293. ; generated for the getwork RPC as desired. One address per line.
  294. ; miningaddr=youraddress
  295. ; miningaddr=youraddress2
  296. ; miningaddr=youraddress3
  297.  
  298. ; Specify the minimum block size in bytes to create. By default, only
  299. ; transactions which have enough fees or a high enough priority will be included
  300. ; in generated block templates. Specifying a minimum block size will instead
  301. ; attempt to fill generated block templates up with transactions until it is at
  302. ; least the specified number of bytes.
  303. ; blockminsize=0
  304.  
  305. ; Specify the maximum block size in bytes to create. This value will be limited
  306. ; to the consensus limit if it is larger than this value.
  307. ; blockmaxsize=750000
  308.  
  309. ; Specify the size in bytes of the high-priority/low-fee area when creating a
  310. ; block. Transactions which consist of large amounts, old inputs, and small
  311. ; sizes have the highest priority. One consequence of this is that as low-fee
  312. ; or free transactions age, they raise in priority thereby making them more
  313. ; likely to be included in this section of a new block. This value is limited
  314. ; by the blackmaxsize option and will be limited as needed.
  315. ; blockprioritysize=50000
  316.  
  317.  
  318. ; ------------------------------------------------------------------------------
  319. ; Debug
  320. ; ------------------------------------------------------------------------------
  321.  
  322. ; Debug logging level.
  323. ; Valid levels are {trace, debug, info, warn, error, critical}
  324. ; You may also specify <subsystem>=<level>,<subsystem2>=<level>,... to set
  325. ; log level for individual subsystems. Use dcrd --debuglevel=show to list
  326. ; available subsystems.
  327. ; debuglevel=info
  328.  
  329. ; ------------------------------------------------------------------------------
  330. ; Profile - enable the HTTP profiler
  331. ; ------------------------------------------------------------------------------
  332.  
  333. ; The profile server will be disabled if this option is not specified. Profile
  334. ; information can be accessed at http://ipaddr:<profileport>/debug/pprof once
  335. ; running. Note that the IP address will default to 127.0.0.1 if an IP address
  336. ; is not specified, so that the profiler is not accessible on the network.
  337. ; Listen on selected port on localhost only:
  338. ; profile=6061
  339. ; Listen on selected port on all network interfaces:
  340. ; profile=:6061
  341. ; Listen on single network ipv4 interface:
  342. ; profile=192.168.1.123:6061
  343. ; Listen on ipv6 loopback interface:
  344. ; profile=[::1]:6061
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement