Bitcoin Forum
November 15, 2018, 03:56:43 PM *
News: Latest Bitcoin Core release: 0.17.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 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?
1542297403
Hero Member
*
Offline Offline

Posts: 1542297403

View Profile Personal Message (Offline)

Ignore
1542297403
Reply with quote  #2

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

Posts: 1542297403

View Profile Personal Message (Offline)

Ignore
1542297403
Reply with quote  #2

1542297403
Report to moderator
1542297403
Hero Member
*
Offline Offline

Posts: 1542297403

View Profile Personal Message (Offline)

Ignore
1542297403
Reply with quote  #2

1542297403
Report to moderator
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2702
Merit: 1145


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!