Bitcoin Forum

Bitcoin => Mining software (miners) => Topic started by: ebyccc on May 24, 2016, 07:52:33 AM



Title: does miner software need to check whether a transaction or a block is valid?
Post by: ebyccc on May 24, 2016, 07:52:33 AM
I am now reading the source code of cgminer, trying to figure out how it checks blocks and transactions, but still can't find the right place.
So is the software responsible for the checking?


Title: Re: does miner software need to check whether a transaction or a block is valid?
Post by: -ck on May 24, 2016, 12:16:35 PM
No. That's all done at the pool level for pooled mining and at bitcoind level for solo mining.


Title: Re: does miner software need to check whether a transaction or a block is valid?
Post by: ebyccc on May 25, 2016, 06:01:29 AM
No. That's all done at the pool level for pooled mining and at bitcoind level for solo mining.

So the miner is only responsible for finding a hash to meet the target? And, maybe this is a quite silly question, is the bitcoind sourced in the bitcoin-master project? I always assume that it is only a wallet program.