Bitcoin Forum
October 16, 2018, 12:18:41 AM *
News: Make sure you are not using versions of Bitcoin Core other than 0.17.0 [Torrent], 0.16.3, 0.15.2, or 0.14.3. More info.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: does miner software need to check whether a transaction or a block is valid?  (Read 1220 times)
ebyccc
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?
1539649121
Hero Member
*
Offline Offline

Posts: 1539649121

View Profile Personal Message (Offline)

Ignore
1539649121
Reply with quote  #2

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

Posts: 1539649121

View Profile Personal Message (Offline)

Ignore
1539649121
Reply with quote  #2

1539649121
Report to moderator
1539649121
Hero Member
*
Offline Offline

Posts: 1539649121

View Profile Personal Message (Offline)

Ignore
1539649121
Reply with quote  #2

1539649121
Report to moderator
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2674
Merit: 1143


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 and ckpool/ckproxy.
ZERO FEE Pooled mining at ckpool.org, 1% Fee Solo mining at solo.ckpool.org
-ck
ebyccc
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:  

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!