Bitcoin Forum
May 29, 2024, 05:26:57 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: [Help Request] Issues setting up solo mining  (Read 267 times)
blockheadbits (OP)
Newbie
*
Offline Offline

Activity: 8
Merit: 0


View Profile
November 20, 2017, 01:33:54 PM
 #1

Note/Disclaimer - I am aware that solo mining is generally not profitable.  I am just trying to set this up for learning purposes.

Problem

I have been having trouble setting up a solo miner for alt coins and was wondering if anyone could help.  I'm on Windows 10 x64.

Steps Taken So Far

  • I just picked two random newer altcoins to test solo mining on:   Innova Coin - neoscrypt and Aerium - skunk
  • Downloaded the wallet for each coin, installed, and sync'd
  • In C:\Users\USERNAME\AppData\Roaming\aerium and C:\Users\USERNAME\AppData\Roaming\InnovaCore I either created or edited the aerium.conf and innova.conf files with the following:
      
            listen=1
            daemon=1
            server=1
            rpcuser=aeriumpc
            rpcpassword=X
            rpcallowip=127.0.0.1
            rcpconnect=127.0.0.1
            rpcport=44445

  • I have an RX470, and have tried using both sgminer and prospector.  

        In sgminer, I created a .bat file with the following

            setx GPU_FORCE_64BIT_PTR 0
            setx GPU_MAX_HEAP_SIZE 100
            setx GPU_MAX_USE_SYNC_OBJECTS 1
            setx GPU_MAX_ALLOC_PERCENT 100
            setx GPU_MAX_SINGLE_ALLOC_PERCENT 100

            sgminer.exe -k neoscrypt -o 127.0.0.1:44445 -u USERNAMEFROM.CONF -p PASSWORDFROM.CONF -w 256 -g 2
            pause

        In prospector, I edited the config.toml file to:

            [general]
            gpu-coin = "sigt"
            cpu-coin = "xmr"
            default-username = "USERNAMEFROM.CONF"
            default-password = "PASSWORDFROM.CONF"
            [pools.sigt]
            url = "127.0.0.1:44445"
  • For Innova (INN), I also tried using gatelessgate 0.1.3 and CPUMiner

        I edited the gateless-INN.conf file to:

           {
           "algorithm": "neoscrypt",
           "intensity": "13",
           "worksize": "256",
           "gpu-threads": "1",
           "load-balance": true,

           "auto-fan": true,
           "temp-cutoff": "90",
           "temp-overheat": "85",
           "temp-target": "75",

           "pools": [
           {
           "name": "MAIN",
           "user": "USERNAMEFROM.CONF",
           "pass": "PASSWORDFROM.CONF",
           "quota": "99;127.0.0.1:44445"
           },
           {
           "__comment": "Please keep this entry. Otherwise, I won't be able to continue open-source development. - zawawa",
           "name":"DEVFEE",
           "user": "zawawa.gatelessgate",
           "pass": "x",
           "quota": "1;s1.theblocksfactory.com:3333"
           }
           ]
           }

         In CPUminer I edited the Innova.bat to:

              cpuminer-gw64-corei7 -a neoscrypt -o 127.0.0.1:44445 -u USERNAMEFROM.CONF -p PASSWORDFROM.CONF

              pause
  • I then started the respective wallets in server mode by going to "Start" -> "Run" -> "C:/Miner/{coinname}/{coinname}-qt.exe -server" and letting the wallets fully sync
  • After syncing, I started the miners from bat or toml file

Errors I'm Receiving

With respect to prospector, I was getting a repeating error that it couldn't connect.

With respect to sgminer, I'm getting an error that:

        127.0.0.1 slow/down or URL or credentials invalid
        No servers were found that could be used to get work from.
        Please check the details from the list below of the servers you have input
        Most likely you have input the wrong URL, forgotten to add a port, or have not set up workers.

With respect to CPUMiner, I'm getting an error that:

        4 miner threads started, using 'neoscrypt' algorithm.
        Current block is 21012
        No payout address provided, switching to getwork
        Long-polling on http://127.0.0.1:44445
        json_rpc_call failed, retry after 10 seconds        (note- this line just keeps repeating)

With respect to gatelessgate, I'm just getting a "Press any key" then closing.

Other troubleshooting steps taken

  • I have tried editing the .conf/.bat/.toml files by changing the address to "localhost" and "http://localhost" and have not had success with either.
  • I tried several different ports, including 4233 and 14520
  • I tried creating a rule in Windows Firewall to open the TCP ports entered on the miner and wallet.  I also tried temporarily disabling the firewall on my router.
  • I tried running the miner as administrator

Help?  Any suggestions on what I am doing wrong?  I've spent hours dickin around with this to no avail, and have made several posts without response.  This is starting to drive me nuts and I'm willing to make small donation to whoever manages to figure this out.


Sorry for wall of text.  Thank you in advance for your time and help!!!
blockheadbits (OP)
Newbie
*
Offline Offline

Activity: 8
Merit: 0


View Profile
November 20, 2017, 05:45:48 PM
 #2

bump.
slate_main
Member
**
Offline Offline

Activity: 105
Merit: 11

BYTZ


View Profile
November 20, 2017, 05:57:58 PM
 #3

Replace the USERNAMEFROM.CONF & PASSWORDFROM.CONF with your actual details within the script, there is no need to link them like this in this instance, maybe you tried this already?
blockheadbits (OP)
Newbie
*
Offline Offline

Activity: 8
Merit: 0


View Profile
November 20, 2017, 09:10:46 PM
 #4

Sorry, I was using all caps to try and illustrate that the username and password was the same (i.e., the username/pass that I entered in the .conf file is the same user name and password entered into the respective .bat/.toml files).

So for Innova Coin .conf, assume I entered username JOHN and password SMITH.  In the miner .bat/.toml files, I then also entered username JOHN and password SMITH.
rifiuti
Full Member
***
Offline Offline

Activity: 320
Merit: 101


View Profile
November 20, 2017, 09:47:46 PM
 #5

Bumping this thread again. I'm having the same problem.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!