I've been unable to configure VerthashMiner for solo mining, I always get the errors:
[2023-09-04 15:24:35] ERROR HTTP request failed: Empty reply from server
[2023-09-04 15:24:35] ERROR json_rpc_call failed, retry after 30 seconds
When running the 0.7.2 binary under Ubuntu 22.04 amd64.
This is because the VerthashMiner docs are a bit skimpy on the details and seem to presume the user is already familiar with mining. I will be happy to commit a PR to edit the VerthashMiner README if you help me get up and running.
WHAT THE README SAYS
Solo mining using GBT(getblocktemplate):
./VerthashMiner -u user -p password -o http://127.0.0.1:port --coinbase-addr core_wallet_address --verthash-data your_path/verthash.dat --all-cl-devices --all-cu-devices
I am using sshfs to mount the .vertcoin dir holding verthash.dat on the machine running VerthashMiner
The README makes no mention of having to run vertcoind and this being the origin of the username and password. It should also at least tell the user what the default port used by vertcoind is (5889).
192.168.0.11 in my case is the address of the server hosting the mining container.
Full output from VertHashMiner
root@CT100:~/VerthashMiner-0.7.2-CUDA11-linux# ./VerthashMiner -u user -p password -o http://192.168.0.11:5889 --coinbase-addr mywalletaddress --verthash-data /mnt/thor/verthash.dat --all-cl-devices --all-cu-devices
[2023-09-04 15:44:53] INFO Found 0 OpenCL devices.
[2023-09-04 15:44:53] INFO Found 1 CUDA devices
[2023-09-04 15:44:57] INFO Verthash data file has been loaded succesfully!
[2023-09-04 15:45:02] INFO Verthash data file has been verified succesfully!
[2023-09-04 15:45:02] INFO Miner has been successfully configured! (Errors: 0, Warnings: 0)
[2023-09-04 15:45:02] INFO Configured 0(CL) and 1(CUDA) workers
[2023-09-04 15:45:02] DEBUG Found 1 NVML device
[2023-09-04 15:45:02] INFO 1 miner threads started, using Verthash algorithm.
[2023-09-04 15:45:03] ERROR HTTP request failed: Empty reply from server
[2023-09-04 15:45:03] ERROR json_rpc_call failed, retry after 30 seconds
I've been unable to configure VerthashMiner for solo mining, I always get the errors:
When running the 0.7.2 binary under Ubuntu 22.04 amd64.
This is because the VerthashMiner docs are a bit skimpy on the details and seem to presume the user is already familiar with mining. I will be happy to commit a PR to edit the VerthashMiner README if you help me get up and running.
WHAT THE README SAYS
WHAT I'VE BEEN TRYING
On my machine running vertcoind (192.168.0.11) I run this command to start my wallet:
I am using sshfs to mount the .vertcoin dir holding verthash.dat on the machine running VerthashMiner
The README makes no mention of having to run vertcoind and this being the origin of the username and password. It should also at least tell the user what the default port used by vertcoind is (5889).
192.168.0.11 in my case is the address of the server hosting the mining container.
Full output from VertHashMiner
Thanks