Bitcoin Forum
December 10, 2016, 02:43:29 PM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Request for an Scrypt capable fork of cgminer - maybe within new CGMiner / RPC  (Read 5208 times)
ThiagoCMC
Legendary
*
Offline Offline

Activity: 1190


฿itcoin: Currency of Resistance!


View Profile WWW
December 30, 2011, 05:00:49 AM
 #1

Hi!

 Guys, how much will cost to add support for Scrypt (Litecoin mining) to cgminer (maybe cgminer-cpuonly)?

 Of course, based on: https://github.com/pooler/cpuminer

 10 BTC?

 So, with only one cgminer instance, we can find Bitcoin/Namecoin and Litecoin blocks!

 But keeping the option to mine for Bitcoins using cgminer-cpuonly too, if user wish that...

 We should be able to choose a different algorithm for a pool (which will be a Litecoin pool)...

Best!
Thiago

Mercado Forex acessível para todos os Brasileiros que tenham Bitcoins! Cadastre-se hoje mesmo! Bastar acessar aqui: https://1broker.com/m/r.php?i=8879
1481381009
Hero Member
*
Offline Offline

Posts: 1481381009

View Profile Personal Message (Offline)

Ignore
1481381009
Reply with quote  #2

1481381009
Report to moderator
1481381009
Hero Member
*
Offline Offline

Posts: 1481381009

View Profile Personal Message (Offline)

Ignore
1481381009
Reply with quote  #2

1481381009
Report to moderator
1481381009
Hero Member
*
Offline Offline

Posts: 1481381009

View Profile Personal Message (Offline)

Ignore
1481381009
Reply with quote  #2

1481381009
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1481381009
Hero Member
*
Offline Offline

Posts: 1481381009

View Profile Personal Message (Offline)

Ignore
1481381009
Reply with quote  #2

1481381009
Report to moderator
1481381009
Hero Member
*
Offline Offline

Posts: 1481381009

View Profile Personal Message (Offline)

Ignore
1481381009
Reply with quote  #2

1481381009
Report to moderator
kano
Legendary
*
Offline Offline

Activity: 1932


Linux since 1997 RedHat 4


View Profile
January 03, 2012, 04:30:23 PM
 #2

ThiagoCMC,
I know ckolivas hates the alternate chains so I'm pretty sure he would NOT want the code in his git.
(and I do understand why)
Thus I'd not be interested in implementing it either.

Pool: https://kano.is BTC: 1KanoiBupPiZfkwqB7rfLXAzPnoTshAVmb
CKPool and CGMiner developer, IRC FreeNode #ckpool and #cgminer kanoi
Help keep Bitcoin secure by mining on pools with Stratum, the best protocol to mine Bitcoins with ASIC hardware
ThiagoCMC
Legendary
*
Offline Offline

Activity: 1190


฿itcoin: Currency of Resistance!


View Profile WWW
January 03, 2012, 05:42:44 PM
 #3

Kano,

 I'm sorry to ask you this but... Why so much hate?!
 It is just some lines of C code... What evil it can have?!
 Litecoin is a good experience, don't you think?!
 I am very curious to know your opinion in deep about this alt-chain (Litecoin) in specific.

Best!
Thiago

Mercado Forex acessível para todos os Brasileiros que tenham Bitcoins! Cadastre-se hoje mesmo! Bastar acessar aqui: https://1broker.com/m/r.php?i=8879
bitlane
Internet detective
Sr. Member
****
Offline Offline

Activity: 462


I heart thebaron


View Profile
January 03, 2012, 07:04:19 PM
 #4

With Pooler's minerd being such a killer app for Intel CPUs, do you really think that CGMiner could compete without ALOT of optimizations ?

Why not Bounty-Request Pooler to add enhancements to his minerd for LTC mining ?

ThiagoCMC
Legendary
*
Offline Offline

Activity: 1190


฿itcoin: Currency of Resistance!


View Profile WWW
January 03, 2012, 07:24:32 PM
 #5

With Pooler's minerd being such a killer app for Intel CPUs, do you really think that CGMiner could compete without ALOT of optimizations ?

Why not Bounty-Request Pooler to add enhancements to his minerd for LTC mining ?

I like the CGMiner interface / RPC features and, the CGMiner with Scrypt support will (I guess) have the pooler's code. So, it will be basically the same.

Anyway... We already have the negative response from ckolivas and Kano, so, never mind...

I just being curious on why the two hate so much a new piece of code within CGMiner... I think it can not hurt cgminer, it can be a plus to it.

Mercado Forex acessível para todos os Brasileiros que tenham Bitcoins! Cadastre-se hoje mesmo! Bastar acessar aqui: https://1broker.com/m/r.php?i=8879
bitlane
Internet detective
Sr. Member
****
Offline Offline

Activity: 462


I heart thebaron


View Profile
January 03, 2012, 07:30:42 PM
 #6

Maybe Pooler can fork the CGMiner-CPU-only code and implement his minerd code into it ?

ThiagoCMC
Legendary
*
Offline Offline

Activity: 1190


฿itcoin: Currency of Resistance!


View Profile WWW
January 05, 2012, 01:05:33 AM
 #7

Maybe Pooler can fork the CGMiner-CPU-only code and implement his minerd code into it ?

But ckolivas do not want that code within his git (main cgminer tree) so, who will maintain that fork?!

Anyway, I was thinking in having only one cgminer instance, with scrypt mining for pre-selected pools and, normal Bitcoin mining at GPUs... No only with cgminer-cpuonly but, It can be awesome too!

Ideas?!

Mercado Forex acessível para todos os Brasileiros que tenham Bitcoins! Cadastre-se hoje mesmo! Bastar acessar aqui: https://1broker.com/m/r.php?i=8879
-ck
Staff
Legendary
*
Offline Offline

Activity: 2002


Ruu \o/


View Profile WWW
January 05, 2012, 03:50:58 AM
 #8

Maybe Pooler can fork the CGMiner-CPU-only code and implement his minerd code into it ?
The cgminer-cpuonly code IS the cgminer code, just with a different configuration option (--disable-opencl) when I build it.

Primary developer/maintainer for cgminer and ckpool/ckproxy.
Pooled mine at kano.is, solo mine at solo.ckpool.org
-ck
Remember remember the 5th of November
Legendary
*
Offline Offline

Activity: 1526

Reverse engineer from time to time


View Profile
January 12, 2012, 06:54:48 PM
 #9

Well...

I was able to make Scrypt work with cgminer which was the primary goal here.
I even was able to compile a 64-bit Windows CGminer thus the Scrypt miner speed from minerd is retained.

I have a few issues, the decay speed reported after a while turns into the word "inf"(but not as problematic as people may think).
And second, Mingw-w64 does not seem to like localtime_r, which was a problem when I was asked to compile the binaries from pooler's code.

Implementing scrypt into cgminer was basically a copy/paste job, so I do not know if that was enough for a reward, but I leave that for you to decide. As for the ability to switch algos for different pools, I find that unneeded since CPU bitcoin mining is extremely rare, plus some pools are banning miners which are requesting work, but their efficiency is low.

CGMiner used is latest one with API support.

As for why I have not released it, I am only waiting to see if "just" porting the algorithm was enough to complete the bounty.

BTC:1AiCRMxgf1ptVQwx6hDuKMu4f7F27QmJC2
DeathAndTaxes
Donator
Legendary
*
Offline Offline

Activity: 1218


Gerald Davis


View Profile
January 12, 2012, 07:12:44 PM
 #10

I just being curious on why the two hate so much a new piece of code within CGMiner... I think it can not hurt cgminer, it can be a plus to it.

I won't speak for them but I don't think it is "hate".  It is simply seeing not future in alt-coins (at least alt-coins so far).  Ckolivas name is defacto attached to cgminer and Kano did the extensive work on RPC code. 

You can understand that they wouldn't be enthusiastic about providing resources (maybe even resulting in user's assuming that means implicit support) for something they find to have no value.  Right?

The good news ... this is why we support free software.  It is GPLed so you have the freedom to do what you want with it.  You could even work on a fork which mines (shudder) SolidCoins ScamCoins. Smiley

ThiagoCMC
Legendary
*
Offline Offline

Activity: 1190


฿itcoin: Currency of Resistance!


View Profile WWW
January 12, 2012, 10:02:51 PM
 #11

I agree with you!! Not hate... Sorry...
I'll never talk about Scrypt in CGMiner again... Gotcha!!  ^_^
Ckolivas wants to drop CPU support from CGMiner... I'm fine with that... Finally... lol
Nevertheless, I think that even if we don't believe in some alt-coin, why not help who believes?
People can even pay, with any cryptocurrency, for the job...

Mercado Forex acessível para todos os Brasileiros que tenham Bitcoins! Cadastre-se hoje mesmo! Bastar acessar aqui: https://1broker.com/m/r.php?i=8879
ovidiusoft
Sr. Member
****
Offline Offline

Activity: 252


View Profile
January 13, 2012, 10:44:36 AM
 #12

As for the ability to switch algos for different pools, I find that unneeded since CPU bitcoin mining is extremely rare, plus some pools are banning miners which are requesting work, but their efficiency is low.


I don't see how you can avoid pinning some pools to the CPU and others to the GPU. I assume people mining bitcoin and a cpu chain at the same time will use different pools for them?

Also, this might not be a real problem worth working on, but it would be nice if there would be support for pool fallback/balancing for CPU too. So I guess there would be two sets of pools (CPU and GPU), each with their own balancing/failover rules. I don't know if it makes sense at this point or how much effort will be needed... it's just an idea.
Remember remember the 5th of November
Legendary
*
Offline Offline

Activity: 1526

Reverse engineer from time to time


View Profile
January 13, 2012, 11:02:33 AM
 #13

Mixing GPU mining and CPU-mining in the same process is not a good idea. Imagine that most people like me put cgminer with multiple GPUs on one underclocked core. Every thread will fight for CPU time.

Of course, the newest drivers seem to have fixed the 100% CPU usage bug, but this does not mean that everyone upgraded.

In order to implement such a thing, a massive recode would be needed, so that per-GPU(or per-thread) pools are allowed(each thread/GPU to mine on a different pool), and only then can the CPU threads work like that.
So the best thing here is to use one miner process for GPUs and one for CPU, doing it like this allows free control of which process which core of the CPU to use. CPU mining from the same process will impact GPU mining performance severely, so best not is my advice.

BTC:1AiCRMxgf1ptVQwx6hDuKMu4f7F27QmJC2
ovidiusoft
Sr. Member
****
Offline Offline

Activity: 252


View Profile
January 13, 2012, 11:32:08 AM
 #14

Ah, ok. I think this answers better OP's request (bold mine):

Quote
So, with only one cgminer instance, we can find Bitcoin/Namecoin and Litecoin blocks!

TL;DR: OP's request will require a lot of work.
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!