Advertisement
Guest User

Untitled

a guest
Nov 11th, 2017
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.36 KB | None | 0 0
  1. ############################################################
  2. # Do not modify this file. Instead, create a #
  3. # brs.properties file and make your changes there. #
  4. # They will overwrite the defaults! #
  5. ############################################################
  6.  
  7. #### PEER NETWORKING ####
  8.  
  9. # Announce my IP address/hostname to peers and allow them to share it with other peers.
  10. # If disabled, peer networking servlet will not be started at all.
  11. brs.shareMyAddress=true
  12.  
  13. # Port for incoming peer to peer networking requests, if enabled.
  14. brs.peerServerPort=8123
  15.  
  16. # Host interface on which to listen for peer networking requests, default all.
  17. # Use 0.0.0.0 to listen on all IPv4 interfaces or :: to listen on all IPv4 and IPv6 interfaces
  18. brs.peerServerHost=0.0.0.0
  19.  
  20. # My externally visible IP address or host name, to be announced to peers.
  21. # It can optionally include a port number, which will also be announced to peers,
  22. # and may be different from brs.peerServerPort (useful if you do port forwarding behind a router).
  23. brs.myAddress=
  24.  
  25. # My platform, to be announced to peers.
  26. brs.myPlatform=PC
  27.  
  28. # My hallmark, if available.
  29. brs.myHallmark=
  30.  
  31. # A list of well known peer addresses / host names, separated by '; '.
  32. # TODO: document what is taken if not set
  33.  
  34. brs.wellKnownPeers=144.76.36.175;144.76.90.228;91.143.92.133;185.157.21.85;192.99.183.10; 18.116.7.200; 84.249.20.155; 45.58.62.236; 210.54.33.230; 203.167.243.44; 210.115.228.231; 171.98.174.125; 38.114.101.88; 38.114.101.87; 158.69.53.36; 176.9.25.254; 5.104.175.156; 5.104.175.157; 37.97.40.203; 192.99.47.76; 87.167.177.45; 5.9.124.68; 1.179.201.220; 75.158.125.140; 160.36.130.180; 178.136.98.153; 5.104.175.162; 91.121.159.44; 203.59.236.69; 5.9.119.180; 70.95.197.163; 88.99.249.245; 89.179.240.131; 126.124.211.226; 92.81.73.43; 178.63.87.215; 211.218.247.79; 71.166.55.129; 5.104.175.152; 5.104.175.154; 162.236.93.205; 75.189.195.82; 5.104.175.134; 5.104.175.137; 5.104.175.138; 107.141.2.251; 137.248.121.73; 88.106.222.81; 204.45.61.2; 85.217.171.59; 184.161.232.180; 213.113.246.35; 38.114.101.90; 188.2.144.168; 137.248.122.195; 162.243.144.202; 199.189.85.178; 111.90.145.100; 218.38.28.183; 5.104.175.11; 203.158.118.10; 151.80.42.137; 103.76.180.145; 88.99.166.52; 24.160.75.65; 198.27.68.159; 62.75.187.160; 91.189.160.214; 5.104.175.131; 73.169.38.202; 78.46.37.137; 103.251.107.78; 62.224.96.21; 95.165.143.249; 5.153.225.55; 5.189.165.186; 210.115.227.99; 213.136.69.222; 81.94.202.156; 81.83.5.50; 89.106.1.126; 77.120.101.95; 93.123.73.133; 202.5.195.252; 35.187.253.145; 77.120.101.180; 216.165.179.49; 162.248.4.26; 85.10.211.130; 192.161.209.104; 185.144.131.131; 2.81.168.154; 112.167.81.44; 86.19.102.12; 211.104.175.60; 87.98.145.132; 174.36.0.110; 88.115.127.46; 128.171.53.34; 173.238.248.170; 5.104.175.110; 90.126.120.47; 5.104.175.211; 37.120.185.33; 46.4.126.236; 108.238.244.144; 5.104.175.214; 112.161.84.93; 39.117.137.191; 5.9.106.250; 176.9.43.13; 67.68.14.47; 151.80.16.34; 223.19.255.106;
  35.  
  36. # These peers will always be sent rebroadcast transactions. They are also automatically added to wellKnownPeers, so no need for duplicates.
  37. brs.rebroadcastPeers=a.storj.eu; 158.69.150.192
  38.  
  39. # Connect to this many well known peers before using the peer database to get connected faster.
  40. # Set to 0 or comment out to disable.
  41. brs.connectWellKnownFirst=10
  42.  
  43. # Known bad peers to be blacklisted
  44. brs.knownBlacklistedPeers=
  45.  
  46. # Peers used for testnet only.
  47. brs.testnetPeers=
  48.  
  49. # Maintain active connections with at least that many peers.
  50. brs.maxNumberOfConnectedPublicPeers=20
  51.  
  52. # Peer networking connect timeout for outgoing connections.
  53. brs.connectTimeout=4000
  54.  
  55. # Peer networking read timeout for outgoing connections.
  56. brs.readTimeout=8000
  57.  
  58. # Peer networking server idle timeout, milliseconds.
  59. brs.peerServerIdleTimeout=30000
  60.  
  61. # Use the peer hallmark to only connect with peers above the defined push/pull hallmark thresholds.
  62. brs.enableHallmarkProtection=false
  63.  
  64. # Hallmark threshold to use when sending data to peers.
  65. brs.pushThreshold=0
  66.  
  67. # Hallmark threshold to use when requesting data from peers.
  68. brs.pullThreshold=0
  69.  
  70. # Blacklist peers for 600000 milliseconds (i.e. 10 minutes by default).
  71. brs.blacklistingPeriod=600000
  72.  
  73. # Consider a new transaction or block sent after 10 peers have received it.
  74. brs.sendToPeersLimit=10
  75.  
  76. # Enable the Jetty Denial of Service Filter for the peer networking server.
  77. brs.enablePeerServerDoSFilter=true
  78.  
  79. # Compress Http responses for the peer networking server.
  80. brs.enablePeerServerGZIPFilter=true
  81.  
  82. # Use testnet, leave set to false unless you are really testing.
  83. # Never unlock your real accounts on testnet! Use separate accounts for testing only.
  84. # When using testnet, all custom port settings will be ignored,
  85. # and hardcoded ports of 6874 (peer networking), 6875 (UI) and 6876 (API) will be used.
  86. brs.isTestnet=false
  87.  
  88. # Save known peers in the database
  89. brs.savePeers=true
  90.  
  91. # Set to false to disable use of the peers database. This will not delete saved peers.
  92. brs.usePeersDb=true
  93.  
  94. # Set to false to disable getting more peers from the currently connected peers. Only useful
  95. # when debugging and want to limit the peers to those in peersDb or wellKnownPeers.
  96. brs.getMorePeers=true
  97.  
  98. # Set to true to run offline - do not connect to peers and do not listen for incoming peer
  99. # connections. This is equivalent to setting brs.shareMyAddress=false, brs.wellKnownPeers=,
  100. # brs.testnetPeers= and brs.usePeersDb=false, and if set to true overrides those properties.
  101. brs.isOffline=false
  102.  
  103. # Enable re-broadcasting of new transactions until they are received back from at least one
  104. # peer, or found in the blockchain. This feature can optionally be disabled, to avoid the
  105. # risk of revealing that this node is the submitter of such re-broadcasted new transactions.
  106. brs.enableTransactionRebroadcasting=true
  107.  
  108. # Do not allow the number of unconfirmed transactions in memory to exceed this value.
  109. # If exceeded, the fee/size ratio of the transactions in a forged block is used to
  110. # decide which to keep in the unconfirmed pool. Set to 0 or negative for no limit.
  111. brs.maxUnconfirmedTransactions=400
  112.  
  113. # Transactions that aren't confirmed for this many blocks start getting rebroadcast.
  114. brs.rebroadcastAfter=5
  115.  
  116. # Transactions being rebroadcast get rebroadcast every this many blocks until they are confirmed.
  117. brs.rebroadcastEvery=4
  118.  
  119. #### API SERVER ####
  120.  
  121. # Accept http/json API requests.
  122. brs.enableAPIServer=true
  123.  
  124. # Hosts from which to allow http/json API requests, if enabled.
  125. brs.allowedBotHosts=127.0.0.1; localhost; [0:0:0:0:0:0:0:1];
  126.  
  127. # Port for http/json API requests.
  128. brs.apiServerPort=8125
  129.  
  130. # Host interface on which to listen for http/json API request, default localhost only.
  131. # Set to 0.0.0.0 to allow the API server to accept requests from all network interfaces.
  132. brs.apiServerHost=127.0.0.1
  133.  
  134. # Idle timeout for http/json API request connections, milliseconds.
  135. brs.apiServerIdleTimeout=30000
  136.  
  137. # Directory with html and javascript files for the new client UI, and admin tools utilizing
  138. # the http/json API.
  139. brs.apiResourceBase=html/ui
  140.  
  141. # Java API documentation directory, optional.
  142. brs.javadocResourceBase=html/doc
  143.  
  144. # Enable Cross Origin Filter for the API server.
  145. brs.apiServerCORS=false
  146.  
  147. # Enable SSL for the API server (also need to set brs.keyStorePath and brs.keyStorePassword).
  148. brs.apiSSL=false
  149.  
  150. # Enforce requests that require POST to only be accepted when submitted as POST.
  151. brs.apiServerEnforcePOST=true
  152.  
  153. # Compress Http responses for the API server.
  154. brs.enableAPIServerGZIPFilter=false
  155.  
  156.  
  157. # rico666: this is the last remnant of the "old NRS user interface" config option
  158. # but it seems to be in use still - leaving for now
  159. # Hosts from which to allow NRS user interface requests, if enabled.
  160. brs.allowedUserHosts=127.0.0.1; localhost; [0:0:0:0:0:0:0:1];
  161.  
  162. #### DEBUGGING ####
  163.  
  164. # Log file, will be overwritten at every restart.
  165. #brs.log=brs.log
  166. # The log file is now specified in logging.properties.
  167.  
  168. # Enable debug log output.
  169. #brs.debug=false
  170. # Debug logging is now specified in logging properties.
  171.  
  172. # Include caller traceback in log messages.
  173. brs.enableLogTraceback=false
  174.  
  175. # Enable logging of exception stack traces.
  176. brs.enableStackTraces=true
  177.  
  178. # Enable logging of Jetty messages.
  179. #brs.debugJetty=false
  180. # Jetty logging is now specified in logging properties.
  181.  
  182. # Used for debugging peer to peer communications.
  183. brs.communicationLoggingMask=0
  184.  
  185. # Track balances of the following accounts and related events for debugging purposes.
  186. brs.debugTraceAccounts=
  187.  
  188. # File name for logging tracked account balances.
  189. brs.debugTraceLog=brs-trace.csv
  190.  
  191. # Separator character for trace log.
  192. brs.debugTraceSeparator=\t
  193.  
  194. # Quote character for trace log.
  195. brs.debugTraceQuote="
  196.  
  197. # Log changes to unconfirmed balances.
  198. brs.debugLogUnconfirmed=false
  199.  
  200.  
  201. #### DATABASE ####
  202.  
  203. # Database connection JDBC url
  204. # Append ;AUTO_SERVER=TRUE to enable automatic mixed mode access.
  205. brs.dbUrl=jdbc:mariadb://localhost:3306/burstwallet
  206. brs.dbUsername=
  207. brs.dbPassword=
  208.  
  209. # Database connection JDBC url to use with the test network, if isTestnet=true
  210. brs.testDbUrl=
  211. brs.testDbUsername=
  212. brs.testDbPassword=
  213.  
  214. brs.dbMaximumPoolSize=10
  215.  
  216. # Database connection timeout in seconds.
  217. brs.dbLoginTimeout=70
  218.  
  219. # Database default lock timeout in seconds.
  220. brs.dbDefaultLockTimeout=60
  221.  
  222. # Maximum simultaneous database connections.
  223. brs.maxDbConnections=30
  224.  
  225. # The memory allocated to database cache, in kB.
  226. # If set to 0, defaults to 50 % of the memory available to the JVM.
  227. brs.dbCacheKB=0
  228.  
  229.  
  230.  
  231. #### JETTY ####
  232.  
  233. # Settings for the Jetty Denial Of Service Filter, used for the peer networking server only.
  234. brs.peerServerDoSFilter.maxRequestsPerSec=30
  235. brs.peerServerDoSFilter.delayMs=1000
  236. brs.peerServerDoSFilter.maxRequestMs=300000
  237.  
  238. # keystore file and password, required if uiSSL or apiSSL are enabled.
  239. brs.keyStorePath=keystore
  240. brs.keyStorePassword=password
  241.  
  242.  
  243.  
  244. #### Developers only ####
  245.  
  246. # Force re-validation of blocks and transaction at start.
  247. brs.forceValidate=false
  248.  
  249. # Force re-build of derived objects tables at start.
  250. brs.forceScan=false
  251.  
  252. # Print a list of peers having this version on exit.
  253. brs.dumpPeersVersion=
  254.  
  255. # Enable trimming of derived objects tables.
  256. brs.trimDerivedTables=true
  257.  
  258. # If trimming enabled, maintain enough previous height records to allow rollback of at least
  259. # that many blocks. Must be at least 1440 to allow normal fork resolution. After increasing
  260. # this value, a full re-scan needs to be done in order for previously trimmed records to be
  261. # re-created and preserved.
  262. brs.maxRollback=1440
  263.  
  264. # Enable API requests used for blockchain and database manipulation.
  265. brs.enableDebugAPI=false
  266.  
  267. # Debug option for Testnet: Winning with every Deadline
  268. brs.mockMining = false
  269.  
  270. # GPU Blocksync Acceleration / experimental !
  271. brs.oclAuto=true
  272. brs.oclVerify=false
  273.  
  274. # If 'brs.oclAuto=false' gpu must be specified
  275. brs.oclPlatform=0
  276. brs.oclDevice=0
  277. brs.oclMemPercent=50
  278. brs.oclHashesPerEnqueue=1000
  279.  
  280. #brs.oclThreshold
  281. #brs.oclWaitThreshold
  282.  
  283. # use risky catchup strategy - rico666: not sure what that is, see BlockchainProcessorImpl (true/false)
  284. #brs.riskyCatchup=false
  285.  
  286. # Enable metrics exposure for all SQL statements (useful for debugging, just slowing stuff down otherwise)
  287. brs.enableSqlMetrics = false
  288.  
  289. # Uncomment this to limit the number of cpu cores the wallet sees. Default is all available.
  290. # brs.cpuCores=4
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement