Advertisement
Guest User

Untitled

a guest
May 11th, 2018
240
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.59 KB | None | 0 0
  1. {
  2. // Configure hostname to announce to the network. Must be a FQDN pointing to this node.
  3. // Possible values: any fully-qualified domain name.
  4. //host: "nimiqfrance.tk",
  5.  
  6. // Specifies which port to listen on for connections.
  7. // Possible values: any valid port number
  8. // Default: 8443.
  9. //port: 8443,
  10.  
  11. // Certificate file and private key file to use for the TLS secured server.
  12. //tls: {
  13. // cert: "C:\OpenSSL-Win32\bin\mon_certificat.cert",
  14. // key: "C:\OpenSSL-Win32\bin\ma_cle.key"
  15. //},
  16.  
  17. // Set up a dumb node. Other nodes will not be able to connect to this node, but you may
  18.  
  19. connect to others.
  20. // Obsoletes TLS and hostname configuration.
  21. // Possible values: "no", "yes"
  22. // Default: "no"
  23. dumb: "yes",
  24.  
  25. // Specify the type of node to run.
  26. // Possible values: "full", "light", "nano"
  27. // Default: "full"
  28. //type: "nano",
  29.  
  30. // Specify the network to connect to.
  31. // Possible values: "main", "test", "dev", "bounty"
  32. // Default: "main"
  33. network: "main",
  34.  
  35. // Run in passive mode: do not connect to other peers and wait for them to connect to you.
  36. // Possible values: "no", "yes"
  37. // Default: "no"
  38. //passive: "yes",
  39.  
  40. // Print statistics like mining hashrate, current account balance and mempool size
  41. // Possible values: the time interval (in seconds) between statistics, or 0 to disable
  42. // Default: 20
  43. statistics: 20,
  44.  
  45. // Configure the miner on this node.
  46. miner: {
  47. // Activate mining on this node.
  48. // Possible values "no", "yes"
  49. // Default "yes"
  50. enabled: "yes",
  51.  
  52. // Number of threads to use for mining. Set to "auto" to automatically use number of
  53.  
  54. cores
  55. // of the device's processor.
  56. // Possible values: "auto", any number of threads
  57. // Default: "1"
  58. //threads: 1,
  59.  
  60. //throttleAfter: Infinity,
  61. //throttleWait: 100,
  62.  
  63. //extraData: "miner name"
  64. },
  65.  
  66. // Configure the JSON-RPC server.
  67. rpcServer: {
  68. // Start the JSON-RPC server.
  69. // Possible values "no", "yes"
  70. // Default "no"
  71. //enabled: "yes",
  72.  
  73. // TCP-Port to use to create a listening socket for the JSON-RPC server.
  74. // Possible values: any valid port number
  75. // Default: 8648
  76. //port: 8648,
  77.  
  78. // Allow Cross-Origin access to the JSON-RPC server from the specified origins.
  79. // Default: []
  80. //corsdomain: [],
  81.  
  82. // Declare a username and password required to access the JSON-RPC server.
  83. // Default: none
  84. //username: "super",
  85. // Default: none
  86. //password: "secret",
  87. },
  88.  
  89. // Configure Prometheus-compatible metrics server.
  90. metricsServer: {
  91. // Start the metrics server.
  92. // Possible values "no", "yes"
  93. // Default "no"
  94. //enabled: "yes",
  95.  
  96. // TCP-Port to use to create a listening socket for the metrics server.
  97. // Possible values: any valid port number
  98. // Default: 8649
  99. //port: 8649,
  100.  
  101. // Declare a password required to access the metrics server.
  102. // Default: none
  103. //password: "secret",
  104. },
  105.  
  106. // Specify the wallet to use.
  107. wallet: {
  108. // Use a wallet initialized from a wallet seed.
  109. // Default: none
  110. //seed: "seed",
  111.  
  112. // Use a wallet by it's address. The specified wallet cannot be used to sign
  113.  
  114. transactions.
  115. // Default: none
  116. //address: "NQ93 BGP8 1RJS RACF D9NA F264 22AV TTFV USQ0",
  117. },
  118.  
  119. // Configure log output. All output will go to STDOUT.
  120. log: {
  121. // Configure global log level.
  122. // Possible values: "trace", "verbose", "debug", "info", "warning", "error", "assert"
  123. // Default: "info"
  124. //level: "verbose",
  125.  
  126. // Define specific log levels for tags
  127. // Default: none
  128. //tags: {"BaseConsensus": "debug"},
  129. },
  130.  
  131. // Configure additional seed peers
  132. seedPeers: [
  133. // Details of additional seed node.
  134. // - host: the hostname of the websocket server to connect to.
  135. // - port: the port that the nimiq node runs on.
  136. // - publicKey (optional): the public part of the peer key of this seed node. Should
  137.  
  138. always be set if the node
  139. // is accessed via the internet.
  140. //{host: 'new-seed.nimiq.com', port: 8080, publicKey:
  141.  
  142. 'e65e39616662f2c16d62dc08915e5a1d104619db8c2b9cf9b389f96c8dce9837'},
  143. //{host: 'nimiq-seed.company-network.int', port: 8080},
  144. ],
  145. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement