Difference between revisions of "Nodecore.properties"

From Veriblock Wiki
Jump to: navigation, search
 
(4 intermediate revisions by 3 users not shown)
Line 6: Line 6:
 
# The NodeCore network to participate in.
 
# The NodeCore network to participate in.
 
# Required: Yes
 
# Required: Yes
# Default value: testnet
+
# Default value: mainnet
# Valid values: testnet
+
# Valid values: mainnet
network=testnet
+
network=mainnet
  
 
# Set to the public IP address for this node
 
# Set to the public IP address for this node
Line 23: Line 23:
 
# The bootstrapping pool of nodes. Comma-separated list of address:port. User should not modify
 
# The bootstrapping pool of nodes. Comma-separated list of address:port. User should not modify
 
# Required: Yes
 
# Required: Yes
# Default value: 78.46.106.162:6500,94.130.33.180:6500,173.199.119.135:6500,144.202.49.232:6500,45.32.207.123:6500,207.148.85.146:6500,45.77.8.173:6500,207.148.122.103:6500
+
# 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.
 
# Valid values: comma-separated list of IP address:port, see default value for example.
peer.bootstrap.hosts=78.46.106.162:6500,94.130.33.180:6500,173.199.119.135:6500,144.202.49.232:6500,45.32.207.123:6500,207.148.85.146:6500,45.77.8.173:6500,207.148.122.103:6500
+
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.
 
# The peers this node will attempt to connect with. Comma-separated list of address:port.
Line 41: Line 41:
 
# The network port to bind to for peer to peer communication. Generally, user should not modify.
 
# The network port to bind to for peer to peer communication. Generally, user should not modify.
 
# Required: No
 
# Required: No
# Default value: 6500 (for TestNet)
+
# Default value: 7500 (for MainNet)
 
# Valid values: A valid network port between 1024-49151
 
# Valid values: A valid network port between 1024-49151
 
peer.bind.port=
 
peer.bind.port=
Line 77: Line 77:
 
# The network port to bind to for RPC communication. Generally, user should not modify.
 
# The network port to bind to for RPC communication. Generally, user should not modify.
 
# Required: No
 
# Required: No
# Default value: 10501 (for TestNet)
+
# Default value: 10500 (for MainNet)
 
# Valid values: A valid network port between 1024-49151
 
# Valid values: A valid network port between 1024-49151
rpc.bind.port=10501
+
rpc.bind.port=10500
  
 
# The maximum number of RPC requests before rate-limiting occurs. Generally, user should not modify.
 
# The maximum number of RPC requests before rate-limiting occurs. Generally, user should not modify.
Line 105: Line 105:
 
pool.stats.bind.port=8500
 
pool.stats.bind.port=8500
  
# The IP address to bind to for Universal Communication Protocol (UCP), used by mining pool. Generally, user should not modify.
+
# The IP address to bind to for stratum protocol, used by mining pool. Generally, user should not modify.
 
# Required: Yes
 
# Required: Yes
 
# Default value: 127.0.0.1
 
# Default value: 127.0.0.1
 
# Valid values: A valid IP address bound to this node's network card
 
# Valid values: A valid IP address bound to this node's network card
ucp.mining.bind.address=127.0.0.1
+
stratum.mining.bind.address=127.0.0.1
  
# The network port to bind to for Universal Communication Protocol (UCP). Generally, user should not modify.
+
# The network port to bind to for stratum protocol. Generally, user should not modify.
 
# Required: Yes
 
# Required: Yes
# Default value: 8501
+
# Default value: 8502
 
# Valid values: A valid network port between 1024-49151
 
# Valid values: A valid network port between 1024-49151
ucp.mining.bind.port=8501
+
stratum.mining.bind.port=8502
  
 
rpc.security.mode=None
 
rpc.security.mode=None
Line 124: Line 124:
 
rpc.security.password.enabled=false
 
rpc.security.password.enabled=false
  
transaction.fee=1
+
transaction.fee=0.00001000
  
 
blockchain.search.length=2016
 
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