Advertisement
Guest User

Untitled

a guest
Jul 24th, 2017
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.00 KB | None | 0 0
  1. ############################################################
  2. # Do not modify this file. Instead, create a #
  3. # nxt.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. nxt.shareMyAddress=true
  12.  
  13. # Port for incoming peer to peer networking requests, if enabled.
  14. nxt.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. nxt.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 nxt.peerServerPort (useful if you do port forwarding behind a router).
  23. nxt.myAddress=
  24.  
  25. # My platform, to be announced to peers.
  26. nxt.myPlatform=PC
  27.  
  28. # My hallmark, if available.
  29. nxt.myHallmark=
  30.  
  31. # A list of well known peer addresses / host names, separated by '; '.
  32. # If not set, a random selection of nxtcrypto.org and nxtbase.com nodes is used.
  33. nxt.wellKnownPeers=burstcoin.shmtech.biz:9682; 128.171.156.20:8123; 5.9.44.154; cybaer.dyndns.org; wallet.burstcoin.tech:8121; 91.235.113.249; a.storj.eu
  34.  
  35. # These peers will always be sent rebroadcast transactions. They are also automatically added to wellKnownPeers, so no need for duplicates.
  36. burst.rebroadcastPeers=burst.ninja; pool.burstcoin.biz
  37.  
  38. # Connect to this many well known peers before using the peer database to get connected faster.
  39. # Set to 0 or comment out to disable.
  40. burst.connectWellKnownFirst=2
  41.  
  42. # Known bad peers to be blacklisted
  43. nxt.knownBlacklistedPeers=
  44.  
  45. # Peers used for testnet only.
  46. nxt.testnetPeers=
  47.  
  48. # Maintain active connections with at least that many peers.
  49. nxt.maxNumberOfConnectedPublicPeers=20
  50.  
  51. # Peer networking connect timeout for outgoing connections.
  52. nxt.connectTimeout=4000
  53.  
  54. # Peer networking read timeout for outgoing connections.
  55. nxt.readTimeout=8000
  56.  
  57. # Peer networking server idle timeout, milliseconds.
  58. nxt.peerServerIdleTimeout=30000
  59.  
  60. # Use the peer hallmark to only connect with peers above the defined push/pull hallmark thresholds.
  61. nxt.enableHallmarkProtection=false
  62.  
  63. # Hallmark threshold to use when sending data to peers.
  64. nxt.pushThreshold=0
  65.  
  66. # Hallmark threshold to use when requesting data from peers.
  67. nxt.pullThreshold=0
  68.  
  69. # Blacklist peers for 600000 milliseconds (i.e. 10 minutes by default).
  70. nxt.blacklistingPeriod=600000
  71.  
  72. # Consider a new transaction or block sent after 10 peers have received it.
  73. nxt.sendToPeersLimit=10
  74.  
  75. # Enable the Jetty Denial of Service Filter for the peer networking server.
  76. nxt.enablePeerServerDoSFilter=true
  77.  
  78. # Compress Http responses for the peer networking server.
  79. nxt.enablePeerServerGZIPFilter=true
  80.  
  81. # Use testnet, leave set to false unless you are really testing.
  82. # Never unlock your real accounts on testnet! Use separate accounts for testing only.
  83. # When using testnet, all custom port settings will be ignored,
  84. # and hardcoded ports of 6874 (peer networking), 6875 (UI) and 6876 (API) will be used.
  85. nxt.isTestnet=false
  86.  
  87. # Save known peers in the database
  88. nxt.savePeers=true
  89.  
  90. # Set to false to disable use of the peers database. This will not delete saved peers.
  91. nxt.usePeersDb=true
  92.  
  93. # Set to false to disable getting more peers from the currently connected peers. Only useful
  94. # when debugging and want to limit the peers to those in peersDb or wellKnownPeers.
  95. nxt.getMorePeers=true
  96.  
  97. # Set to true to run offline - do not connect to peers and do not listen for incoming peer
  98. # connections. This is equivalent to setting nxt.shareMyAddress=false, nxt.wellKnownPeers=,
  99. # nxt.testnetPeers= and nxt.usePeersDb=false, and if set to true overrides those properties.
  100. nxt.isOffline=false
  101.  
  102. # Enable re-broadcasting of new transactions until they are received back from at least one
  103. # peer, or found in the blockchain. This feature can optionally be disabled, to avoid the
  104. # risk of revealing that this node is the submitter of such re-broadcasted new transactions.
  105. nxt.enableTransactionRebroadcasting=true
  106.  
  107. # Transactions that aren't confirmed for this many blocks start getting rebroadcast.
  108. burst.rebroadcastAfter=4
  109.  
  110. # Transactions being rebroadcast get rebroadcast every this many blocks until they are confirmed.
  111. burst.rebroadcastEvery=2
  112.  
  113. #### API SERVER ####
  114.  
  115. # Accept http/json API requests.
  116. nxt.enableAPIServer=true
  117.  
  118. # Hosts from which to allow http/json API requests, if enabled.
  119. nxt.allowedBotHosts=127.0.0.1; localhost; [0:0:0:0:0:0:0:1];
  120.  
  121. # Port for http/json API requests.
  122. nxt.apiServerPort=8125
  123.  
  124. # Host interface on which to listen for http/json API request, default localhost only.
  125. # Set to 0.0.0.0 to allow the API server to accept requests from all network interfaces.
  126. nxt.apiServerHost=127.0.0.1
  127.  
  128. # Idle timeout for http/json API request connections, milliseconds.
  129. nxt.apiServerIdleTimeout=30000
  130.  
  131. # Directory with html and javascript files for the new client UI, and admin tools utilizing
  132. # the http/json API.
  133. nxt.apiResourceBase=html/ui
  134.  
  135. # Java API documentation directory, optional.
  136. nxt.javadocResourceBase=html/doc
  137.  
  138. # Enable Cross Origin Filter for the API server.
  139. nxt.apiServerCORS=false
  140.  
  141. # Enable SSL for the API server (also need to set nxt.keyStorePath and nxt.keyStorePassword).
  142. nxt.apiSSL=false
  143.  
  144. # Enforce requests that require POST to only be accepted when submitted as POST.
  145. nxt.apiServerEnforcePOST=true
  146.  
  147. # Compress Http responses for the API server.
  148. nxt.enableAPIServerGZIPFilter=false
  149.  
  150.  
  151. #### OLD NRS USER INTERFACE ####
  152.  
  153. # Enable the deprecated NRS user interface.
  154. nxt.enableUIServer=false
  155.  
  156. # Hosts from which to allow NRS user interface requests, if enabled.
  157. nxt.allowedUserHosts=127.0.0.1; localhost; [0:0:0:0:0:0:0:1];
  158.  
  159. # Port for NRS user interface server.
  160. nxt.uiServerPort=7875
  161.  
  162. # Host interface for NRS user interface server, default localhost only.
  163. # Set to 0.0.0.0 to allow the UI to be accessed on all network interfaces.
  164. nxt.uiServerHost=127.0.0.1
  165.  
  166. # Idle timeout for NRS user interface server, milliseconds.
  167. nxt.uiServerIdleTimeout=30000
  168.  
  169. # Directory with html and javascript files for the NRS client user interface.
  170. nxt.uiResourceBase=html/nrs
  171.  
  172. # Enable Cross Origin Filter for NRS user interface server.
  173. nxt.uiServerCORS=false
  174.  
  175. # Enable SSL for the NRS user interface (also need to set nxt.keyStorePath and nxt.keyStorePassword).
  176. nxt.uiSSL=false
  177.  
  178. # Enforce requests that require POST to only be accepted when submitted as POST.
  179. nxt.uiServerEnforcePOST=true
  180.  
  181.  
  182.  
  183. #### DEBUGGING ####
  184.  
  185. # Log file, will be overwritten at every restart.
  186. #nxt.log=nxt.log
  187. # The log file is now specified in logging.properties.
  188.  
  189. # Enable debug log output.
  190. #nxt.debug=false
  191. # Debug logging is now specified in logging properties.
  192.  
  193. # Include caller traceback in log messages.
  194. nxt.enableLogTraceback=false
  195.  
  196. # Enable logging of exception stack traces.
  197. nxt.enableStackTraces=true
  198.  
  199. # Enable logging of Jetty messages.
  200. #nxt.debugJetty=false
  201. # Jetty logging is now specified in logging properties.
  202.  
  203. # Used for debugging peer to peer communications.
  204. nxt.communicationLoggingMask=0
  205.  
  206. # Track balances of the following accounts and related events for debugging purposes.
  207. nxt.debugTraceAccounts=
  208.  
  209. # File name for logging tracked account balances.
  210. nxt.debugTraceLog=nxt-trace.csv
  211.  
  212. # Separator character for trace log.
  213. nxt.debugTraceSeparator=\t
  214.  
  215. # Quote character for trace log.
  216. nxt.debugTraceQuote="
  217.  
  218. # Log changes to unconfirmed balances.
  219. nxt.debugLogUnconfirmed=false
  220.  
  221.  
  222. #### DATABASE ####
  223.  
  224. # Database connection JDBC url, see the H2 documentation for possible customizations.
  225. # Append ;AUTO_SERVER=TRUE to enable automatic mixed mode access.
  226. # The nxt_db folder is expected to be in the current working directory, will be created if missing.
  227. nxt.dbUrl=jdbc:h2:./burst_db/burst;DB_CLOSE_ON_EXIT=FALSE
  228.  
  229. # Database connection JDBC url to use with the test network, if isTestnet=true
  230. nxt.testDbUrl=jdbc:h2:./burst_test_db/burst;DB_CLOSE_ON_EXIT=FALSE
  231.  
  232. # Database connection timeout in seconds.
  233. nxt.dbLoginTimeout=70
  234.  
  235. # Database default lock timeout in seconds.
  236. nxt.dbDefaultLockTimeout=60
  237.  
  238. # Maximum simultaneous database connections.
  239. nxt.maxDbConnections=30
  240.  
  241. # The memory allocated to database cache, in kB.
  242. # If set to 0, defaults to 50 % of the memory available to the JVM.
  243. nxt.dbCacheKB=0
  244.  
  245.  
  246.  
  247. #### JETTY ####
  248.  
  249. # Settings for the Jetty Denial Of Service Filter, used for the peer networking server only.
  250. nxt.peerServerDoSFilter.maxRequestsPerSec=30
  251. nxt.peerServerDoSFilter.delayMs=1000
  252. nxt.peerServerDoSFilter.maxRequestMs=300000
  253.  
  254. # keystore file and password, required if uiSSL or apiSSL are enabled.
  255. nxt.keyStorePath=keystore
  256. nxt.keyStorePassword=password
  257.  
  258.  
  259.  
  260. #### Developers only ####
  261.  
  262. # Force re-validation of blocks and transaction at start.
  263. nxt.forceValidate=false
  264.  
  265. # Force re-build of derived objects tables at start.
  266. nxt.forceScan=false
  267.  
  268. # Print a list of peers having this version on exit.
  269. nxt.dumpPeersVersion=
  270.  
  271. # Enable trimming of derived objects tables.
  272. nxt.trimDerivedTables=true
  273.  
  274. # If trimming enabled, maintain enough previous height records to allow rollback of at least
  275. # that many blocks. Must be at least 1440 to allow normal fork resolution. After increasing
  276. # this value, a full re-scan needs to be done in order for previously trimmed records to be
  277. # re-created and preserved.
  278. nxt.maxRollback=1440
  279.  
  280. # Enable API requests used for blockchain and database manipulation.
  281. nxt.enableDebugAPI=false
  282.  
  283. # Debug option for Testnet: Winning with every Deadline
  284. burst.mockMining = false
  285.  
  286. # GPU Blocksync Acceleration / experimental !
  287. burst.oclAuto=true
  288. burst.oclVerify=false
  289.  
  290. # If 'burst.oclAuto=false' gpu must be specified
  291. burst.oclPlatform=0
  292. burst.oclDevice=0
  293. burst.oclMemPercent=50
  294. burst.oclHashesPerEnqueue=1000
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement