Bitcoin Forum
May 25, 2024, 10:32:11 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: does miner software need to check whether a transaction or a block is valid?  (Read 1329 times)
ebyccc (OP)
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile
May 24, 2016, 07:52:33 AM
 #1

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?
-ck
Legendary
*
Offline Offline

Activity: 4116
Merit: 1635


Ruu \o/


View Profile WWW
May 24, 2016, 12:16:35 PM
 #2

No. That's all done at the pool level for pooled mining and at bitcoind level for solo mining.

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
ebyccc (OP)
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile
May 25, 2016, 06:01:29 AM
 #3

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.
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!