Bitcoin Forum
May 10, 2024, 02:11:58 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How much work is a "share" ?  (Read 1596 times)
mimarob (OP)
Full Member
***
Offline Offline

Activity: 354
Merit: 103



View Profile
March 16, 2011, 11:00:59 AM
 #1

In the pools they often refer to something called a "share". Is there an exact correlation to the amount of work (i.e. hashes) done?

1715350318
Hero Member
*
Offline Offline

Posts: 1715350318

View Profile Personal Message (Offline)

Ignore
1715350318
Reply with quote  #2

1715350318
Report to moderator
1715350318
Hero Member
*
Offline Offline

Posts: 1715350318

View Profile Personal Message (Offline)

Ignore
1715350318
Reply with quote  #2

1715350318
Report to moderator
1715350318
Hero Member
*
Offline Offline

Posts: 1715350318

View Profile Personal Message (Offline)

Ignore
1715350318
Reply with quote  #2

1715350318
Report to moderator
"This isn't the kind of software where we can leave so many unresolved bugs that we need a tracker for them." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715350318
Hero Member
*
Offline Offline

Posts: 1715350318

View Profile Personal Message (Offline)

Ignore
1715350318
Reply with quote  #2

1715350318
Report to moderator
1715350318
Hero Member
*
Offline Offline

Posts: 1715350318

View Profile Personal Message (Offline)

Ignore
1715350318
Reply with quote  #2

1715350318
Report to moderator
1715350318
Hero Member
*
Offline Offline

Posts: 1715350318

View Profile Personal Message (Offline)

Ignore
1715350318
Reply with quote  #2

1715350318
Report to moderator
Pieter Wuille
Legendary
*
Offline Offline

Activity: 1072
Merit: 1174


View Profile WWW
March 16, 2011, 11:11:38 AM
 #2

In the pools they often refer to something called a "share". Is there an exact correlation to the amount of work (i.e. hashes) done?

It corresponds to finding a hash whose value matches the target for difficulty 1, being 0x00000000FFFF0000..., that means it will on average correspond to 4295032833 hashes.

I do Bitcoin stuff.
mimarob (OP)
Full Member
***
Offline Offline

Activity: 354
Merit: 103



View Profile
March 17, 2011, 10:07:02 AM
 #3

Aha so it also serves as proof that work is being done by the miner?

clever..

So the 'F':s in the middle also guarantees that it holds no bitcoin value?

gigabytecoin
Sr. Member
****
Offline Offline

Activity: 280
Merit: 252


View Profile
March 17, 2011, 11:24:30 AM
 #4

Aha so it also serves as proof that work is being done by the miner?

clever..

So the 'F':s in the middle also guarantees that it holds no bitcoin value?



When I originally read your username, I read it as "nim-rod". Just thought I would mention that for a laugh! It's late, forgive me.
Pieter Wuille
Legendary
*
Offline Offline

Activity: 1072
Merit: 1174


View Profile WWW
March 17, 2011, 11:34:20 AM
 #5

Aha so it also serves as proof that work is being done by the miner?

clever..

So the 'F':s in the middle also guarantees that it holds no bitcoin value?

When a bitcoin miner is at work, it tries many nonces x, such that sha256(sha256(block_header_with_nonce(x))) results in a number that is small enough.
Currently, this number needs to be smaller than

  000000000000DC31000000000000000000000000000000000000000000000000

(written in hex) for it to result in a real bitcoin block with value. Pools, however, (at least the ones i know about), only request hashes that are smaller than

  00000000FFFF0000000000000000000000000000000000000000000000000000

So, it will see all "real" hashes calculated by the miner, but also many hashes that are somewhat larger than this.
The pool gets its income from those real hashes calculated by the miners, and distributes them (using some formula)
according to the number of low-difficulty hashes it received from each miner.

I do Bitcoin stuff.
mimarob (OP)
Full Member
***
Offline Offline

Activity: 354
Merit: 103



View Profile
March 17, 2011, 12:53:35 PM
 #6

gigabyte: that's a decent one.
A friend of mine who is also swedish read it out (in swedish) like a street-mimer in the closet... I use it because it's so odd that it is always available at forums :-)

sipa: Is it not then possible for the miners to cheat, when finding a "real" hash keeping it to themselves and then coining it through another client?

Pieter Wuille
Legendary
*
Offline Offline

Activity: 1072
Merit: 1174


View Profile WWW
March 17, 2011, 02:03:17 PM
 #7

sipa: Is it not then possible for the miners to cheat, when finding a "real" hash keeping it to themselves and then coining it through another client?

No, you need to decide who (what address/public key) will earn the generated 50 BTC before starting to mine, since the hash depends on it. So once you find a real hash, you only have two options: broadcast it, and let the pool gain money (of which you'll get a piece), or discard it (which is bad for everyone).

I do Bitcoin stuff.
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!