Post
Topic
Board Mining (Altcoins)
Re: [ANN] cudaMiner & ccMiner CUDA based mining applications [Windows/Linux/MacOSX]
by
AizenSou
on 22/05/2014, 08:19:01 UTC

I would kindly ask people to report Spoetnik's post to moderators.

This crosses the line.




Hi, Christian!


small bug with JSON config file found:

Code:
root@kopiemtu:/opt/miners/ccminer# cat /etc/kopiemtu/miner.conf
{
"url" : "stratum+tcp://coinotron.com:3341",
"user" : "jk_14.d1",
"pass" : "p1",
"algo" : "x11"
}
root@kopiemtu:/opt/miners/ccminer# ./ccminer -c /etc/kopiemtu/miner.conf
     *** ccMiner for nVidia GPUs by Christian Buchner and Christian H. ***
                     This is version 1.0 (beta)
          based on pooler-cpuminer 2.3.2 (c) 2010 Jeff Garzik, 2012 pooler
          based on pooler-cpuminer extension for HVC from
               https://github.com/heavycoin/cpuminer-heavycoin
                        and
               http://hvc.1gh.com/
        Cuda additions Copyright 2014 Christian Buchner, Christian H.
          LTC donation address: LKS1WDKGED647msBQfLBHV3Ls8sveGncnm
          BTC donation address: 16hJF5mceSojnTD3ZTUDqdRhDyPJzoRakM
          YAC donation address: Y87sptDEcpLkLeAuex6qZioDbvy1qXZEj4
./ccminer: Heavycoin hash requires block reward vote parameter (see --vote)
Try `minerd --help' for more information.
root@kopiemtu:/opt/miners/ccminer#


(I have some workaroud, but a bit comfortless...)


I did suggest a quick fix a month ago but I don't have permission to commit in the base code. You only need to comment out those lines in parse_cmdline function:
Code:
       if (opt_algo == ALGO_HEAVY && opt_vote == 9999) {
                fprintf(stderr, "%s: Heavycoin hash requires block reward vote parameter (see --vote)\n",
                        argv[0]);
                show_usage_and_exit(1);
        }

we found the issue a while back, it just needs i think its 3 lines removing? just the heavycoin algo check which shouldn't be there anyway

The fix is not beautiful, bigjme. The 3 parse_xx functions have some duplicated code which could be remove/optimize. But I think Christian doesn't have time for this, and it isn't really necessary either. Wink