Difference between revisions of "Nodecore.properties"
(7 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
See: [[Main_Page]] | See: [[Main_Page]] | ||
− | These are the parameters from the nodecore.properties file. They are used by NodeCore. | + | These are the parameters from the nodecore.properties file. They are used by NodeCore. The file is located in the bin folder. If it does not exist, then NodeCore will create it. |
<pre> | <pre> | ||
+ | # The NodeCore network to participate in. | ||
+ | # Required: Yes | ||
+ | # Default value: mainnet | ||
+ | # Valid values: mainnet | ||
+ | network=mainnet | ||
− | + | # Set to the public IP address for this node | |
− | peer. | + | # Required: No |
− | + | # Default value: None | |
− | + | peer.publish.address= | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | # Indicates whether a random selection of peers from a bootstrapping pool should be used if no peers are configured | |
− | + | # Required: Yes | |
− | + | # Default value: true | |
+ | # Valid values: true | false | ||
+ | peer.bootstrap.enabled=true | ||
− | pool. | + | # The bootstrapping pool of nodes. Comma-separated list of address:port. User should not modify |
− | + | # Required: Yes | |
+ | # Default value: 78.46.106.162:7500,94.130.33.180:7500,173.199.119.135:7500,144.202.49.232:7500,45.32.207.123:7500,207.148.85.146:7500,45.77.8.173:7500,207.148.122.103:7500 | ||
+ | # Valid values: comma-separated list of IP address:port, see default value for example. | ||
+ | peer.bootstrap.hosts=78.46.106.162\:7500,94.130.33.180\:7500 | ||
− | + | # The peers this node will attempt to connect with. Comma-separated list of address:port. | |
− | + | # Required: No (If bootstrapping is turned on, this value will be automatically populated) | |
+ | # Default value: None | ||
+ | # Valid values: comma-separated list of IP address:port | ||
+ | peer.external.hosts= | ||
− | + | # The IP address to bind to for peer to peer communications | |
+ | # Required: Yes | ||
+ | # Default value: 0.0.0.0 | ||
+ | # Valid values: A valid IP address bound to this node's network card | ||
+ | peer.bind.address=0.0.0.0 | ||
− | + | # The network port to bind to for peer to peer communication. Generally, user should not modify. | |
+ | # Required: No | ||
+ | # Default value: 7500 (for MainNet) | ||
+ | # Valid values: A valid network port between 1024-49151 | ||
+ | peer.bind.port= | ||
+ | # The minimum number of peers with whom this node should attempt to establish connections | ||
+ | # Required: Yes | ||
+ | # Default value: 8 | ||
+ | # Valid values: An integer greater than 0 | ||
+ | peer.min.count=8 | ||
+ | |||
+ | # The maximum number of peers with whom this node may establish connections | ||
+ | # Required: Yes | ||
+ | # Default value: 500 | ||
+ | # Valid values: An integer greater than 0 | ||
+ | peer.max.count=500 | ||
+ | |||
+ | # A value indicating whether to include system OS version and Java runtime version as part of peer announce | ||
+ | # Required: Yes | ||
+ | # Default value: false | ||
+ | # Valid values: true | false | ||
+ | peer.share.platform=false | ||
+ | |||
+ | # A value indicating whether peers should rebroadcast this node's information when asked for its peer table | ||
+ | # Required: Yes | ||
+ | # Default value: true | ||
+ | # Valid values: true | false | ||
+ | peer.share.myAddress=true | ||
+ | |||
+ | # The IP address to bind to for RPC communications | ||
+ | # Required: Yes | ||
+ | # Default value: 127.0.0.1 | ||
+ | # Valid values: A valid IP address bound to this node's network card | ||
+ | rpc.bind.address=127.0.0.1 | ||
+ | |||
+ | # The network port to bind to for RPC communication. Generally, user should not modify. | ||
+ | # Required: No | ||
+ | # Default value: 10500 (for MainNet) | ||
+ | # Valid values: A valid network port between 1024-49151 | ||
+ | rpc.bind.port=10500 | ||
+ | |||
+ | # The maximum number of RPC requests before rate-limiting occurs. Generally, user should not modify. | ||
+ | # Required: Yes | ||
+ | # Default value: 100 | ||
+ | # Valid values: An integer greater than 0 | ||
+ | rpc.rate.limit=100 | ||
+ | |||
+ | # A list of addresses or address masks that are allowed to connect to the RPC endpoint. | ||
+ | # Required: No | ||
+ | # Default value: 127.0.0.1 (local connections only) | ||
+ | # Valid values: Comma-separated list of [IP Address, e.g. 192.168.1.1] | [Wildcard IP Address, e.g. 192.168.1.*] | [CIDR, e.g. 192.168.0.0/16] | ||
+ | rpc.whitelist.addresses= | ||
+ | |||
+ | # The IP address to bind to for mining pool web stats. Generally, user should not modify. | ||
+ | # Required: Yes | ||
+ | # Default value: 127.0.0.1 | ||
+ | # Valid values: A valid IP address bound to this node's network card | ||
+ | pool.stats.bind.address=127.0.0.1 | ||
+ | |||
+ | # The network port to bind to for mining pool web stats. Generally, user should not modify. | ||
+ | # Required: Yes | ||
+ | # Default value: 8500 | ||
+ | # Valid values: A valid network port between 1024-49151 | ||
+ | pool.stats.bind.port=8500 | ||
+ | |||
+ | # The IP address to bind to for stratum protocol, used by mining pool. Generally, user should not modify. | ||
+ | # Required: Yes | ||
+ | # Default value: 127.0.0.1 | ||
+ | # Valid values: A valid IP address bound to this node's network card | ||
+ | stratum.mining.bind.address=127.0.0.1 | ||
+ | |||
+ | # The network port to bind to for stratum protocol. Generally, user should not modify. | ||
+ | # Required: Yes | ||
+ | # Default value: 8502 | ||
+ | # Valid values: A valid network port between 1024-49151 | ||
+ | stratum.mining.bind.port=8502 | ||
+ | |||
+ | rpc.security.mode=None | ||
+ | rpc.security.cert.chain.path=server.crt | ||
+ | rpc.security.client.cert.chain.path= | ||
+ | rpc.security.private.key.path=server.pem | ||
+ | rpc.security.password= | ||
+ | rpc.security.password.enabled=false | ||
+ | |||
+ | transaction.fee=0.00001000 | ||
+ | |||
+ | blockchain.search.length=2016 | ||
</pre> | </pre> |
Latest revision as of 15:36, 23 September 2020
See: Main_Page
These are the parameters from the nodecore.properties file. They are used by NodeCore. The file is located in the bin folder. If it does not exist, then NodeCore will create it.
# The NodeCore network to participate in. # Required: Yes # Default value: mainnet # Valid values: mainnet network=mainnet # Set to the public IP address for this node # Required: No # Default value: None peer.publish.address= # Indicates whether a random selection of peers from a bootstrapping pool should be used if no peers are configured # Required: Yes # Default value: true # Valid values: true | false peer.bootstrap.enabled=true # The bootstrapping pool of nodes. Comma-separated list of address:port. User should not modify # Required: Yes # Default value: 78.46.106.162:7500,94.130.33.180:7500,173.199.119.135:7500,144.202.49.232:7500,45.32.207.123:7500,207.148.85.146:7500,45.77.8.173:7500,207.148.122.103:7500 # Valid values: comma-separated list of IP address:port, see default value for example. peer.bootstrap.hosts=78.46.106.162\:7500,94.130.33.180\:7500 # The peers this node will attempt to connect with. Comma-separated list of address:port. # Required: No (If bootstrapping is turned on, this value will be automatically populated) # Default value: None # Valid values: comma-separated list of IP address:port peer.external.hosts= # The IP address to bind to for peer to peer communications # Required: Yes # Default value: 0.0.0.0 # Valid values: A valid IP address bound to this node's network card peer.bind.address=0.0.0.0 # The network port to bind to for peer to peer communication. Generally, user should not modify. # Required: No # Default value: 7500 (for MainNet) # Valid values: A valid network port between 1024-49151 peer.bind.port= # The minimum number of peers with whom this node should attempt to establish connections # Required: Yes # Default value: 8 # Valid values: An integer greater than 0 peer.min.count=8 # The maximum number of peers with whom this node may establish connections # Required: Yes # Default value: 500 # Valid values: An integer greater than 0 peer.max.count=500 # A value indicating whether to include system OS version and Java runtime version as part of peer announce # Required: Yes # Default value: false # Valid values: true | false peer.share.platform=false # A value indicating whether peers should rebroadcast this node's information when asked for its peer table # Required: Yes # Default value: true # Valid values: true | false peer.share.myAddress=true # The IP address to bind to for RPC communications # Required: Yes # Default value: 127.0.0.1 # Valid values: A valid IP address bound to this node's network card rpc.bind.address=127.0.0.1 # The network port to bind to for RPC communication. Generally, user should not modify. # Required: No # Default value: 10500 (for MainNet) # Valid values: A valid network port between 1024-49151 rpc.bind.port=10500 # The maximum number of RPC requests before rate-limiting occurs. Generally, user should not modify. # Required: Yes # Default value: 100 # Valid values: An integer greater than 0 rpc.rate.limit=100 # A list of addresses or address masks that are allowed to connect to the RPC endpoint. # Required: No # Default value: 127.0.0.1 (local connections only) # Valid values: Comma-separated list of [IP Address, e.g. 192.168.1.1] | [Wildcard IP Address, e.g. 192.168.1.*] | [CIDR, e.g. 192.168.0.0/16] rpc.whitelist.addresses= # The IP address to bind to for mining pool web stats. Generally, user should not modify. # Required: Yes # Default value: 127.0.0.1 # Valid values: A valid IP address bound to this node's network card pool.stats.bind.address=127.0.0.1 # The network port to bind to for mining pool web stats. Generally, user should not modify. # Required: Yes # Default value: 8500 # Valid values: A valid network port between 1024-49151 pool.stats.bind.port=8500 # The IP address to bind to for stratum protocol, used by mining pool. Generally, user should not modify. # Required: Yes # Default value: 127.0.0.1 # Valid values: A valid IP address bound to this node's network card stratum.mining.bind.address=127.0.0.1 # The network port to bind to for stratum protocol. Generally, user should not modify. # Required: Yes # Default value: 8502 # Valid values: A valid network port between 1024-49151 stratum.mining.bind.port=8502 rpc.security.mode=None rpc.security.cert.chain.path=server.crt rpc.security.client.cert.chain.path= rpc.security.private.key.path=server.pem rpc.security.password= rpc.security.password.enabled=false transaction.fee=0.00001000 blockchain.search.length=2016