Bitcoin Forum
December 11, 2016, 10:17:56 AM *
News: To be able to use the next phase of the beta forum software, please ensure that your email address is correct/functional.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Questoin about getwork, shares and solving block.  (Read 453 times)
symbian
Member
**
Offline Offline

Activity: 67


View Profile
August 01, 2011, 01:12:43 PM
 #1

What is shares in mining? Why getwork response doesn't solve the block directly and only one getwork response from many solves the block? Are they additive or something?

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

Posts: 1481451476

View Profile Personal Message (Offline)

Ignore
1481451476
Reply with quote  #2

1481451476
Report to moderator
1481451476
Hero Member
*
Offline Offline

Posts: 1481451476

View Profile Personal Message (Offline)

Ignore
1481451476
Reply with quote  #2

1481451476
Report to moderator
kokjo
Legendary
*
Offline Offline

Activity: 1050

You are WRONG!


View Profile
August 01, 2011, 01:30:59 PM
 #2

What is shares in mining? Why getwork response doesn't solve the block directly and only one getwork response from many solves the block? Are they additive or something?
getworks are only proof that you have tryed to solve a block.
take is as a lottery:
10000 tickets, and every ticker have a number.
if the number on the ticker is 1, then jackpot! you won.
if the number on the ticker is less then 100, then its only proof that you have tryed.

"The whole problem with the world is that fools and fanatics are always so certain of themselves and wiser people so full of doubts." -Bertrand Russell
symbian
Member
**
Offline Offline

Activity: 67


View Profile
August 01, 2011, 01:42:15 PM
 #3

Some answers are here, but I don't understand how shares processed after when they are submitted? And why do we need collect shares which doesn't match target?

kokjo
Legendary
*
Offline Offline

Activity: 1050

You are WRONG!


View Profile
August 01, 2011, 01:49:22 PM
 #4

Quote
Some answers are here, but I don't understand how shares processed after when they are submitted?
shares processed by checking if they are valid, and then saved.
Quote
And why do we need collect shares which doesn't match target?
no/yes.
no: they does not help the creation of blocks.
yes: if you dont store them, you can't check if they are used again, and there by frauding you to more shares.


"The whole problem with the world is that fools and fanatics are always so certain of themselves and wiser people so full of doubts." -Bertrand Russell
symbian
Member
**
Offline Offline

Activity: 67


View Profile
August 01, 2011, 01:56:00 PM
 #5

So share is a hash compared not to target but to other number (increased with nonce 2^32 number of hashes) with higher probability to match?

kokjo
Legendary
*
Offline Offline

Activity: 1050

You are WRONG!


View Profile
August 01, 2011, 03:44:43 PM
 #6

So share is a hash compared not to target but to other number (increased with nonce 2^32 number of hashes) with higher probability to match?
yes.

"The whole problem with the world is that fools and fanatics are always so certain of themselves and wiser people so full of doubts." -Bertrand Russell
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!