Difference between revisions of "HowTo run and connect to PoW Miner pool"

From Veriblock Wiki
Jump to: navigation, search
Line 60: Line 60:
  
 
And restart NodeCore and the pool software
 
And restart NodeCore and the pool software
 
  
 
=== Error: unable to start pool Starting pool failed: the port 8500 is already bound on 127.0.0.1! ===
 
=== Error: unable to start pool Starting pool failed: the port 8500 is already bound on 127.0.0.1! ===
  
 
Ensure that the nodecore.properties file is updated per above, and restart nodecore.
 
Ensure that the nodecore.properties file is updated per above, and restart nodecore.
 
  
 
=== Pool is stuck at round 1 ===
 
=== Pool is stuck at round 1 ===
Line 72: Line 70:
 
* Is there a miner connecting to it?  
 
* Is there a miner connecting to it?  
 
* If you run NC_CLI getinfo, does it show the latest block (i.e. does NodeCore appear to be updating)?
 
* If you run NC_CLI getinfo, does it show the latest block (i.e. does NodeCore appear to be updating)?
 +
 +
=== Pool is stuck at block X ===
 +
 +
This should not happen, but if it does... have the administrator restart nodecore on the server.
  
 
== General Troubleshooting tips ==
 
== General Troubleshooting tips ==

Revision as of 20:46, 27 June 2018

See: Main_Page, NodeCore_Networking

See also: List_of_mining_pools_testnet

Setup a Pool

Modify the nodecore.properties file:

#Allow the pool statistics page to be reachable from any remote host
pool.stats.bind.address=0.0.0.0

#Allow the UCP pool server to be reachable from any remote host
ucp.mining.bind.address=0.0.0.0
  1. Run an instance of NodeCore
  2. In the NodeCore_CommandLine, run startpool
  3. Make note of the public IP (pool miners will connect to this)
  4. Open firewall ports for 8500/tcp and 8501/tcp such that other clients can connect

Opening firewall ports will vary per OS and version. One set of commands is:

firewall-cmd --permanent --add-port=8500/tcp
firewall-cmd --permanent --add-port=8501/tcp
firewall-cmd --reload

Connect to an Existing Pool

  1. Run the PoW Miner
  2. Specify thread count to mine on
  3. Connect to the IP and port provided by the pool owner (Note that pools generally want to maximize users, to pools binding to 0.0.0.0 allow connections from any IP)
  4. Enter the address to mine to (run getinfo from the NodeCore_CommandLine)

You can see pool results by viewing the web page:

http://<IP_Address>:8500

NC Pool 1b.png

Troubleshooting

Cannot see the pool web page

Check for http (as in http://<IP_Address>:8500), not https

Ensure that the nodecore.properties file has been updated per above steps (and NodeCore was restarted).

Ensure that firewall ports are open for 8500/tcp and 8501/tcp

I start the pool but another computer can not connect its IP

Set this option in your nodecore.properties file (See: Nodecore.properties)

ucp.mining.bind.address=0.0.0.0

And restart NodeCore and the pool software

Error: unable to start pool Starting pool failed: the port 8500 is already bound on 127.0.0.1!

Ensure that the nodecore.properties file is updated per above, and restart nodecore.

Pool is stuck at round 1

Troubleshooting questions to check:

  • Is there a miner connecting to it?
  • If you run NC_CLI getinfo, does it show the latest block (i.e. does NodeCore appear to be updating)?

Pool is stuck at block X

This should not happen, but if it does... have the administrator restart nodecore on the server.

General Troubleshooting tips

Make sure that it works locally:

  • You can connect a miner on 127.0.0.1
  • You can view the html page at http://127.0.0.1:8500
  • You can connect NC_CLI on 127.0.0.1 and run getInfo and it shows the latest block