Guest User

Untitled

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