Pages:
Author

Topic: What happens when you "find" a block? (Read 4987 times)

legendary
Activity: 3472
Merit: 4794
April 17, 2013, 10:45:19 AM
#25
This is my screenshot of CGMiner with verbose mode on.

It's showing shares submitted (to verify its over the current difficulty? ) but they are not high enough.

BTW this is PPCoin but same principals should apply.

I'm not an expert in mining (and I know nothing at all about PPCoin), but it looks like you are using Stratum Protocol.  I thought Stratum Protocol was created for pool mining.  I hadn't realized that you could use Stratum Protocol with solo mining.

My understanding is that with Stratum Protocol, the mining pool server can send a message to the mining client:

Code:
{ "id": null, "method": "mining.set_difficulty", "params": [2]}

to tell it what difficulty to use.
member
Activity: 107
Merit: 10
April 17, 2013, 09:16:07 AM
#24
This is my screenshot of CGMiner with verbose mode on.



It's showing shares submitted (to verify its over the current difficulty? ) but they are not high enough.

BTW this is PPCoin but same principals should apply.
newbie
Activity: 6
Merit: 0
April 17, 2013, 09:15:07 AM
#23
you look for another
newbie
Activity: 6
Merit: 0
April 17, 2013, 09:13:03 AM
#22
you make a party, I guess
legendary
Activity: 3472
Merit: 4794
April 17, 2013, 09:11:56 AM
#21
Is there anyway we can up our chances of finding a block?

correct me if I am wrong (still very new to this as well) but lets say the current difficulty is 100. A correct share which would result in a block has to be a share that is over 100.
Are we able to make our GPU's only submit shares over a certain difficulty? (solo mining)

Unless I am wrong in which case this question no longer applies.

I'm not sure I understand the question.  There are no "shares" if you are solo mining.  When solo mining, you continue to compute hashes until you find one that meets the current difficulty.  Then you broadcast it to all your peers.

When you mine in a pool, you do the same thing, except you notify the pool about the hashes that you find that don't meet the current difficulty but that do meet some notification difficulty.  This allows the pool to confirm that you actually are computing hashes, and allows them to estimate your hash rate so you receive an appropriate portion of whatever blocks the pool finds.
member
Activity: 107
Merit: 10
April 17, 2013, 09:03:58 AM
#20
Is there anyway we can up our chances of finding a block?

correct me if I am wrong (still very new to this as well) but lets say the current difficulty is 100. A correct share which would result in a block has to be a share that is over 100.
Are we able to make our GPU's only submit shares over a certain difficulty? (solo mining)

Unless I am wrong in which case this question no longer applies.
newbie
Activity: 6
Merit: 0
April 17, 2013, 09:01:54 AM
#19
solo it's good.
polo... it's nothing
legendary
Activity: 3472
Merit: 4794
April 17, 2013, 08:59:30 AM
#18
Quote

That depends on the rules of the pool, but as far as I know most of the popular pools don't offer any sort of bonus to anyone lucky enough to have been the one that found the necessary nonce.

yeah, you almost don't want to know, because it's sort of like "hey, I COULD have had 25BTC" Sad

Actually, you couldn't: the rest of the pool is contributing by finding incorrect solutions - thus increasing your chance of finding a correct solution. Tongue

*sighs* can't mine...

If I roll a 20 sided die, the change that I'll roll a 1 is 5% (one divided by twenty).

If 10 more people roll a 20 sided die at the same time as me, do they improve my changes of rolling a 1 because they are contributing numbers other than 1?

No.  My chances are still 5%.

If everyone in the entire world rolls a 20 sided die simultaneously, my personal chances of being one of the people lucky enough to roll a 1 are still 5%.

Mining is the same.  For a given difficulty, it doesn't matter if I'm solo mining, mining in a pool, or mining along with the entire network.  My personal chances of being the one who finds the next block are the same.
legendary
Activity: 3472
Merit: 4794
April 17, 2013, 08:53:19 AM
#17
yeah, you almost don't want to know, because it's sort of like "hey, I COULD have had 25BTC" Sad
- snip -
although in practice, when you mine you are trying to find a different block vs what you'd search soloing,

^^This^^

When you mine in a pool, the pool creates the block header that you are hashing.  That block includes a coinbase transaction that pays the block reward to the pool..

If you were solo mining, your block would include a coinbase transaction that pays the block reward to you.  This would result in a completely different merkle root in the block header.  Therefore, you would be generating completely different hashes while solo mining, and the nonce that you stumbled upon in the pool would not have worked for your solo mining attempt.  In other words, you only found the block because you were mining in the pool.  There is no way to know if you would have found a block solo mining.


newbie
Activity: 42
Merit: 0
April 17, 2013, 05:14:16 AM
#16
since 2010 i found 4 blocks solo mining with only 1,8Gh/s
newbie
Activity: 10
Merit: 0
April 17, 2013, 05:12:10 AM
#15
Quote

That depends on the rules of the pool, but as far as I know most of the popular pools don't offer any sort of bonus to anyone lucky enough to have been the one that found the necessary nonce.

yeah, you almost don't want to know, because it's sort of like "hey, I COULD have had 25BTC" Sad

Actually, you couldn't: the rest of the pool is contributing by finding incorrect solutions - thus increasing your chance of finding a correct solution. Tongue

*sighs* can't mine...

the fact that they submit incorrect solutions does not increase your chance Smiley

in theory, if you'd been soloing, you'd have found 25BTC

although in practice, when you mine you are trying to find a different block vs what you'd search soloing,
newbie
Activity: 7
Merit: 0
April 17, 2013, 04:07:17 AM
#14
you get 25 BTC
full member
Activity: 168
Merit: 100
April 17, 2013, 04:02:36 AM
#13
A kid in Africa gets vaccinations and VDSL internet for one month  Cheesy
hero member
Activity: 658
Merit: 502
Doesn't use these forums that often.
April 17, 2013, 04:01:20 AM
#12
Quote

That depends on the rules of the pool, but as far as I know most of the popular pools don't offer any sort of bonus to anyone lucky enough to have been the one that found the necessary nonce.

yeah, you almost don't want to know, because it's sort of like "hey, I COULD have had 25BTC" Sad

Actually, you couldn't: the rest of the pool is contributing by finding incorrect solutions - thus increasing your chance of finding a correct solution. Tongue

*sighs* can't mine...
newbie
Activity: 10
Merit: 0
April 17, 2013, 02:49:03 AM
#11
Quote

That depends on the rules of the pool, but as far as I know most of the popular pools don't offer any sort of bonus to anyone lucky enough to have been the one that found the necessary nonce.

yeah, you almost don't want to know, because it's sort of like "hey, I COULD have had 25BTC" Sad
legendary
Activity: 3472
Merit: 4794
April 16, 2013, 11:37:54 PM
#10
Gotcha thanks for the explanation. If you find one in a pool you don't get any "bonus" I guess? Thanks

That depends on the rules of the pool, but as far as I know most of the popular pools don't offer any sort of bonus to anyone lucky enough to have been the one that found the necessary nonce.
full member
Activity: 168
Merit: 100
April 16, 2013, 11:21:42 PM
#9
Gotcha thanks for the explanation. If you find one in a pool you don't get any "bonus" I guess? Thanks
newbie
Activity: 6
Merit: 0
April 16, 2013, 11:10:32 PM
#8
good explanation, thanks
legendary
Activity: 3472
Merit: 4794
April 16, 2013, 11:05:58 PM
#7
When you "find a block", what has actually happened is that you've successfully found a low enough valued SHA-256 hash of a block header that either your software created or the mining pool created for you.

If you are solo mining, your mining software then broadcasts this block to all connected peers (if you are mining in a pool, then you provide the nonce back to the mining pool and they broadcast the block).

All connected peers that receive the block verify all the transactions in the block, verify that the hash is of low enough value, and verify that the nonce generates the broadcast hash.  They then append the block to their blockchain and relay it on to all their connected peers.  Any miner that receives the new block will create a new block that has your hash as the "previous block" and then will begin mining that new block.
newbie
Activity: 12
Merit: 0
April 16, 2013, 11:03:43 PM
#6
and congratulations  Smiley
Pages:
Jump to: