Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: jimbobway on November 20, 2010, 09:14:03 PM



Title: GPU mining into main code?
Post by: jimbobway on November 20, 2010, 09:14:03 PM
Are we ever going to add GPU mining into the main code base?  Most mining is done by GPUs now and they could have outdated/modified code which could threaten the block chain.


Title: Re: GPU mining into main code?
Post by: teknohog on November 20, 2010, 09:56:54 PM
Having the getwork RPC in mainline would be a good start, though there are known technical problems with that.

GPU mining itself can be a little tricky with libraries and drivers. It would have to be a compile-time option, and binaries would have to be provided with and without it. But this would be needlessly complicated for a core client. Once we have a standard mining interface, it would be easier to separate mining from the core client altogether.


Title: Re: GPU mining into main code?
Post by: jgarzik on November 20, 2010, 10:20:30 PM
Once we have a standard mining interface, it would be easier to separate mining from the core client altogether.

Indeed.  That's all that needs to be in the core -- remote mining support.


Title: Re: GPU mining into main code?
Post by: davout on November 21, 2010, 08:32:32 AM
Yes, but it would also be very nice for non-technical people to be able to download miner binaries for their platform/GPU.

Personnally, I already crunch at +600Mh/s, so it would mean I make less, but it would also mean greater incentive for newbies to commit into the system and secure the network as a whole.