Advertisement
Guest User

Untitled

a guest
May 5th, 2018
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.51 KB | None | 0 0
  1. ################################################################
  2. # Do not modify this file. Instead, create a file named #
  3. # 'brs.properties' in the conf directory and make your #
  4. # changes there. These will overwrite the values defined here! #
  5. # BRS Config file version: 2.0.0 #
  6. ################################################################
  7. #
  8. # Integer parameters can be
  9. # decimal 123
  10. # binary 0b100101
  11. # hexadecimal 0xAF1D
  12. #
  13. # Boolean parameters can be
  14. # 1, true, yes, on
  15. # 0, false, no, off
  16. # (case insensitive)
  17. #
  18.  
  19. #### PEER 2 PEER NETWORKING ####
  20.  
  21. # Announce my IP address/hostname to peers and allow them to share it with other peers.
  22. # If disabled, peer networking servlet will not be started at all.
  23. P2P.shareMyAddress = yes
  24.  
  25. # My externally visible IP address or host name, to be announced to peers.
  26. # It can optionally include a port number, which will also be announced to peers,
  27. # and may be different from brs.peerServerPort (useful if you do port forwarding behind a router).
  28. P2P.myAddress =
  29.  
  30. # Host interface on which to listen for peer networking requests, default all.
  31. # Use 0.0.0.0 to listen on all IPv4 interfaces or :: to listen on all IPv4 and IPv6 interfaces
  32. P2P.Listen = 0.0.0.0
  33.  
  34. # Port for incoming peer to peer networking requests, if enabled.
  35. P2P.Port = 8123
  36.  
  37. # My platform, to be announced to peers.
  38. P2P.myPlatform = Docker
  39.  
  40. # A list of peer addresses / host names, separated by '; ' used for faster P2P networking bootstrap.
  41. # TODO: document what is taken if not set
  42.  
  43. P2P.BootstrapPeers = 87.92.185.249; 147.135.136.189; 52.191.135.100; 80.150.206.52; 62.75.188.216; 51.15.61.5; 13.65.148.45; 23.253.111.88; 51.255.115.70; 206.54.172.55; 192.210.215.146; 206.54.172.57; 5.39.93.90; 37.205.11.73; 192.99.47.76; [2a02:c7f:c420:fa00:a9bb:e842:ba7f:45a4]; 213.112.178.65; 216.8.195.30; 80.245.123.202; 45.32.114.77; 213.239.207.110; 213.93.182.184; 82.181.181.156; 91.121.159.44; 23.237.23.0; 66.49.220.192; 204.45.61.220; 213.59.149.181; 104.211.179.191; 195.230.182.182; 62.248.209.219; 91.211.191.15; 62.212.73.204; 73.119.30.169; 205.209.140.10; 128.171.156.20; 77.53.194.184; 141.52.39.244; 65.33.132.188; 114.55.91.167; 213.250.22.35; 5.9.50.158; 13.82.44.192; 31.208.216.74; 88.99.42.243; 37.48.93.28; 59.19.218.99; 77.82.90.167; 45.37.205.144; 108.34.167.31; 213.32.102.141; 121.183.132.236; 138.68.191.196; 88.99.166.52; 60.234.70.213; 60.234.58.107; 78.94.159.54; 77.176.235.157; 67.246.189.56; 162.208.50.165; 76.168.133.249; 13.94.237.58; 172.103.173.18; 5.189.132.15; 95.223.45.46; 193.150.67.2; 85.25.200.125; 78.47.51.95; 58.136.73.201; 73.226.253.176; 73.93.134.26; 78.240.13.44; 188.68.56.255; 173.199.70.198; 62.173.142.55; 211.202.125.123; 69.136.113.203; 50.4.239.215; 95.96.104.94; 39.106.117.124; 46.237.194.160; 45.76.115.113; 51.15.80.207; 185.203.116.80; 80.241.221.231; 112.161.84.93; 171.244.32.69; 80.122.157.25; 13.72.109.3; 148.251.218.140; 5.189.148.161; 83.170.100.106; 77.177.170.123; 165.227.230.29; 136.144.169.239; 87.73.32.184; 192.237.253.169; 68.69.164.120; 12.16.33.103; 192.99.183.10; 176.31.105.109; 89.79.131.170; 144.76.36.175; 52.178.12.156; 34.232.70.152; 64.22.104.188; 98.223.118.234; 188.232.23.115; 176.9.47.157; 115.87.103.110; 37.97.40.203; 87.155.221.164; 208.98.201.249; 79.165.206.126; 210.61.217.206; 99.52.191.229; 198.100.149.133; 52.233.193.5; 81.237.255.75; 5.251.99.80; 99.6.109.189; 103.242.135.223; 51.15.172.186; 52.187.61.67; 72.81.136.151; [2001:470:19:aa6:fd1a:a05c:5fb:ba97]; 59.110.224.129; 212.24.103.82; 104.128.234.137; 100.11.71.247; 164.106.37.6; 62.210.254.125; 46.223.93.167; 213.140.217.115; 75.136.58.249; 184.57.184.43; 183.156.110.69; 101.100.184.199; 207.246.70.79; 85.216.33.202; 144.76.71.172; 173.212.235.98; 213.133.86.146; 5.35.21.212; 115.70.71.98; 73.155.113.8; 85.217.171.59; 87.98.244.116; 77.66.66.251; 69.143.93.163; 169.239.183.229; 81.6.54.180; 95.165.132.145; 87.184.83.94; 194.132.150.74; 218.38.28.183; 191.37.200.56; 104.175.172.17; 174.58.241.214; 61.171.177.215; 195.209.127.31; 66.227.173.37; 121.135.232.13; 221.154.37.46; 109.238.113.156; 83.170.94.221; 136.243.54.19; 183.106.157.197; 83.170.94.222; 204.12.255.242; 213.59.149.211; 46.129.42.93; 202.77.99.211; 104.53.200.42; 212.56.99.155; 82.135.154.9; 82.164.64.243; 94.254.35.253; 81.83.5.50; 89.106.1.126; 40.125.164.168; 173.249.18.113; 71.233.68.208; 14.36.1.151; 80.241.222.35; 163.172.161.152; 94.130.19.120; 31.209.54.26; 188.194.23.133; 85.195.246.182; 93.88.74.26; 112.78.10.43; 174.138.59.58; 108.61.180.135; 112.167.81.44; 89.218.176.230; 82.247.98.128; 94.100.221.211; 75.70.223.231; 24.192.163.197; 185.203.117.157; 118.217.216.188; 95.31.73.67; 108.238.244.144; 185.223.30.43; 81.217.76.37; 77.225.52.149; 35.182.142.103; 52.166.126.96; 83.209.204.44; 92.206.55.19
  44.  
  45. # These peers will always be sent rebroadcast transactions. They are also automatically added to wellKnownPeers, so no need for duplicates.
  46. P2P.rebroadcastTo = 78.130.235.166; 89.245.255.31
  47.  
  48. # Connect to this many bootstrap connection peers before using the peer database to get connected faster. Please be aware, that higher != better (3-5 are usually good values) Set to 0 or comment out to disable.
  49. P2P.NumBootstrapConnections=1
  50.  
  51. # Known bad peers to be blacklisted
  52. P2P.BlacklistedPeers =
  53.  
  54. # Maintain active connections with at least that many peers. Also more != better (you want good peers, not just many)
  55. P2P.MaxConnections = 20
  56.  
  57. # Use Peers Database? (Only if not in Offline mode)
  58. P2P.usePeersDb = yes
  59. # Save known peers in the PeersDB? (only if P2P.usePeersDB is true)
  60. P2P.savePeers = yes
  61.  
  62. # Set to false to disable getting more peers from the currently connected peers. Only useful
  63. # when debugging and want to limit the peers to those in peersDb or wellKnownPeers.
  64. P2P.getMorePeers = yes
  65.  
  66. # If database of peers exceed this value more peers will not be downloaded.
  67. # This value will never be below MaxConnections. To high value will slowdown connections.
  68. P2P.getMorePeersThreshold = 400
  69.  
  70. # Peer networking connect timeout for outgoing connections.
  71. P2P.TimeoutConnect_ms = 4000
  72. # Peer networking read timeout for outgoing connections.
  73. P2P.TimeoutRead_ms = 8000
  74. # Peer networking server idle timeout, milliseconds.
  75. P2P.TimeoutIdle_ms = 30000
  76. # Blacklist peers for 600000 milliseconds (i.e. 10 minutes by default).
  77. P2P.BlacklistingTime_ms = 600000
  78.  
  79. # Use the peer hallmark to only connect with peers above the defined push/pull hallmark thresholds.
  80. P2P.HallmarkProtection = on
  81. # My hallmark, if available.
  82. P2P.myHallmark=
  83. # Hallmark threshold to use when sending data to peers.
  84. P2P.HallmarkPush = 0
  85. # Hallmark threshold to use when requesting data from peers.
  86. P2P.HallmarkPull = 0
  87.  
  88. # Consider a new transaction or block sent after 10 peers have received it.
  89. P2P.TxResendThreshold = 10
  90.  
  91. # Enable re-broadcasting of new transactions until they are received back from at least one
  92. # peer, or found in the blockchain. This feature can optionally be disabled, to avoid the
  93. # risk of revealing that this node is the submitter of such re-broadcasted new transactions.
  94. P2P.enableTxRebroadcast = yes
  95.  
  96. # Transactions that aren't confirmed for this many blocks start getting rebroadcast.
  97. P2P.rebroadcastTxAfter = 5
  98.  
  99. # Transactions being rebroadcast get rebroadcast every this many blocks until they are confirmed.
  100. P2P.rebroadcastTxEvery = 2
  101.  
  102.  
  103. # JETTY pass-through options. See documentation at
  104. # https://www.eclipse.org/jetty/documentation/9.2.22.v20170531/dos-filter.html
  105. # P2P section:
  106. JETTY.P2P.DoSFilter = on
  107. JETTY.P2P.DoSFilter.maxRequestsPerSec = 30
  108. JETTY.P2P.DoSFilter.delayMs = 500
  109. JETTY.P2P.DoSFilter.maxRequestMs = 300000
  110. JETTY.P2P.DoSFilter.throttleMs = 30000
  111. JETTY.P2P.DoSFilter.maxIdleTrackerMs = 30000
  112. JETTY.P2P.DoSFilter.maxWaitMs = 50
  113. JETTY.P2P.DoSFilter.throttledRequests = 5
  114. JETTY.P2P.DoSFilter.insertHeaders = true
  115. JETTY.P2P.DoSFilter.trackSessions = false
  116. JETTY.P2P.DoSFilter.remotePort = false
  117. JETTY.P2P.DoSFilter.ipWhitelist = ""
  118. JETTY.P2P.DoSFilter.managedAttr = true
  119.  
  120. # see https://www.eclipse.org/jetty/documentation/9.2.22.v20170531/gzip-filter.html
  121. # deflate compression and others ommitted on purpose (pending update to GzipHandler anyway)
  122. JETTY.P2P.GZIPFilter = on
  123. JETTY.P2P.GZIPFilter.methods = "GET, POST"
  124. JETTY.P2P.GZIPFilter.bufferSize = 8192
  125. JETTY.P2P.GZIPFilter.minGzipSize = 0
  126.  
  127. # Size of the download cache for blocks
  128. brs.blockCacheMB = 40
  129.  
  130. #### API SERVER ####
  131.  
  132. # Accept http/json API requests.
  133. API.Server = on
  134.  
  135. # JETTY pass-through options. See documentation at
  136. # https://www.eclipse.org/jetty/documentation/9.2.22.v20170531/dos-filter.html
  137. # API section:
  138. JETTY.API.DoSFilter = off
  139. JETTY.API.DoSFilter.maxRequestsPerSec = 30
  140. JETTY.API.DoSFilter.delayMs = 500
  141. JETTY.API.DoSFilter.maxRequestMs = 30000
  142. JETTY.API.DoSFilter.throttleMs = 30000
  143. JETTY.API.DoSFilter.maxIdleTrackerMs = 30000
  144. JETTY.API.DoSFilter.maxWaitMs = 50
  145. JETTY.API.DoSFilter.throttledRequests = 5
  146. JETTY.API.DoSFilter.insertHeaders = true
  147. JETTY.API.DoSFilter.trackSessions = false
  148. JETTY.API.DoSFilter.remotePort = false
  149. JETTY.API.DoSFilter.ipWhitelist = ""
  150. JETTY.API.DoSFilter.managedAttr = true
  151.  
  152. # Jetty-passthrough parameters for API responses GZIP compression. See JETTY.P2P.GZIPFilter
  153. JETTY.API.GZIPFilter = off
  154. JETTY.API.GZIPFilter.methods = "GET, POST"
  155. JETTY.API.GZIPFilter.bufferSize = 8192
  156. JETTY.API.GZIPFilter.minGzipSize = 0
  157.  
  158. # Developers or maintenance only! Enable API requests used for
  159. # blockchain and database manipulation. If this is enabled and your
  160. # wallet is public, you are very vulnerable.
  161. API.Debug = off
  162.  
  163. # Hosts or subnets from which to allow http/json API requests, if enabled.
  164. # List delimited by ';', IPv4/IPv6 possible, default: localhost
  165. API.allowed = *
  166.  
  167. # Host interface on which to listen for http/json API request, default localhost only.
  168. # Set to 0.0.0.0 to allow the API server to accept requests from all network interfaces.
  169. API.Listen = 0.0.0.0
  170.  
  171. # Port for http/json API requests.
  172. API.Port = 8125
  173.  
  174. # Idle timeout for http/json API request connections, milliseconds.
  175. API.ServerIdleTimeout = 30000
  176.  
  177. # Directory with html and javascript files for the new client UI, and admin tools utilizing
  178. # the http/json API.
  179. API.UI_Dir = /etc/burstcoin/html/ui
  180.  
  181. # Enable Cross Origin Filter for the API server.
  182. API.CrossOriginFilter = off
  183.  
  184. # Enable SSL for the API server (also need to set API.SSL_keyStorePath and API.SSL_keyStorePassword).
  185. API.SSL = off
  186.  
  187. # Enforce requests that require POST to only be accepted when submitted as POST.
  188. API.ServerEnforcePOST = yes
  189.  
  190. # keystore file and password, required if uiSSL or apiSSL are enabled.
  191. API.SSL_keyStorePath = keystore
  192. API.SSL_keyStorePassword = password
  193.  
  194. #### DATABASE ####
  195.  
  196. # Database connection JDBC url
  197. # Append ;AUTO_SERVER=TRUE to enable automatic mixed mode access.
  198. DB.Url=jdbc:mariadb://mariadb:3306/burst
  199. DB.Username=root
  200. DB.Password=burst
  201.  
  202. # Number of concurrent connections to the Database
  203. DB.Connections = 30
  204.  
  205. # Make H2 database defrag and compact when shutting down.
  206. # This is "off" by default as it can take 2 minutes
  207. # but you really want this to be on after you are aware of this option
  208. Db.H2.DefragOnShutdown = off
  209.  
  210. # Enable trimming of derived objects tables.
  211. DB.trimDerivedTables = on
  212.  
  213. # If trimming enabled, maintain enough previous height records to allow rollback of at least
  214. # that many blocks. Must be at least 1440 to allow normal fork resolution. After increasing
  215. # this value, a full re-scan needs to be done in order for previously trimmed records to be
  216. # re-created and preserved.
  217. DB.maxRollback = 1440
  218.  
  219. # Database default lock timeout in seconds.
  220. DB.LockTimeout = 60
  221.  
  222. ### GPU Acceleration
  223.  
  224. # enable GPU acceleration
  225. GPU.Acceleration = off
  226. GPU.AutoDetect = on
  227.  
  228. # If GPU auto-detection is off (GPU.AutoDetect = off), you must specify manually which one to use
  229. GPU.PlatformIdx = 0
  230. GPU.DeviceIdx = 0
  231.  
  232. # GPU memory usage in percent and how many hashes to process in one batch
  233. GPU.MemPercent = 50
  234. GPU.HashesPerBatch = 1000
  235.  
  236. # number of unverified transactions in cache before GPU verification starts.
  237. GPU.UnverifiedQueue = 1000
  238.  
  239. # Uncomment this to limit the number of cpu cores the wallet sees. Default is all available.
  240. # CPU.NumCores = 4
  241.  
  242.  
  243. #### DEVELOPMENT ####
  244. # (mere mortals do not need to look beyond this point)
  245.  
  246. # Set to "yes" to run offline - do not connect to peers and do not listen for incoming peer
  247. # connections. This is equivalent to setting brs.shareMyAddress = no, brs.wellKnownPeers = ,
  248. # brs.testnetPeers = and brs.usePeersDb = no, and if set to "yes" overrides those properties.
  249. DEV.Offline = no
  250.  
  251. # Use testnet, leave set to false unless you are really testing.
  252. # Never unlock your real accounts on testnet! Use separate accounts for testing only.
  253. # When using testnet, all custom port settings will be ignored,
  254. # and hardcoded ports of 6874 (peer networking), 6875 (UI) and 6876 (API) will be used.
  255. DEV.TestNet = yes
  256.  
  257. # Database connection JDBC url to use with the test network, if DEV.TestNet
  258. DEV.DB.Url=jdbc:mariadb://mariadb:3306/burst
  259. DEV.DB.Username=root
  260. DEV.DB.Password=burst
  261.  
  262. # Time Acceleration in Offline/TestNet configurations (1 = normal time, 2 = twice as fast ...)
  263. DEV.TimeWarp = 1
  264.  
  265. # Peers used for testnet only.
  266. DEV.P2P.BootstrapPeers = 195.201.29.190
  267.  
  268. # Testnet only. These peers will always be sent rebroadcast transactions. They are also automatically added to DEV.P2P.BootstrapPeers, so no need for duplicates.
  269. DEV.P2P.rebroadcastTo = 195.201.29.190
  270.  
  271. # Force winning with every deadline
  272. DEV.mockMining = off
  273.  
  274. # Enter a version. Upon exit, print a list of peers having this version.
  275. DEV.dumpPeersVersion =
  276.  
  277. # Force re-validation of blocks and transaction at start.
  278. DEV.forceValidate = off
  279.  
  280. # Force re-build of derived objects tables at start.
  281. DEV.forceScan = off
  282.  
  283. DEV.Feature.PRE_DYMAXION=no;18443:yes
  284.  
  285. # Debugging (part of Development - isn't it)
  286.  
  287. # Used for debugging peer to peer communications.
  288. brs.communicationLoggingMask = 0
  289.  
  290. # Track balances of the following accounts and related events for debugging purposes.
  291. brs.debugTraceAccounts=
  292.  
  293. # File name for logging tracked account balances.
  294. brs.debugTraceLog = LOG_AccountBalances_trace.csv
  295.  
  296. # Separator character for trace log. (default '\t' - TAB)
  297. brs.debugTraceSeparator =
  298.  
  299. # Quote character for trace log. (default " - double quote)
  300. brs.debugTraceQuote =
  301.  
  302. # Log changes to unconfirmed balances.
  303. brs.debugLogUnconfirmed = false
  304.  
  305. brs.allowedBotHosts=*
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement