4 ms·
I still don’t get how if I start trying a proof of work, and someone faster than me finishes the same proof of Work first, I would never mine a single bitcoin?
by m3kw9 9y ago
I still don’t get how if I start trying a proof of work, and someone faster than me finishes the same proof of Work first, I would never mine a single bitcoin? Is that even the right question?
- dan_mctree 9y agoThere's no continuous project you're working on. It's just getting a lot of chances of winning the lottery. If someone finishes before you, you just slightly alter the number you're searching for and continue on. You're also not really working towards the same thing. Your solution probably includes you sending the blockreward to yourself and their solution includes them sending it to themselves too, on top of that you may also choose other secondary transactions. The chosen transactions influence the number you need to find. It does happen that two blocks are found at nearly the same time, before adjustments can be made. In those cases one of the two ends up getting 'orphaned', it's relatively rare compared to normal blocks though.
- improv32 9y agoMore hashpower inceeases the likelihood that your find your block before the other guy, but the PoW is stateless, there's no "progress" made u til you find the solution, it's purely random each time you increment the nonce and try a new hash, thus expected rewards follow a poisson distribution.
- tromp 9y agoWhile they may be faster, you will occasionally be luckier, and find it first.
- FabHK 9y ago> someone faster than me finishes the same proof of Work first, I would never mine a single bitcoin? That's right. Now, probabilistically, you'd occasionally get lucky and get the full (big) mining reward, in proportion to your fraction of total hash power. The alternative is that you join a mining pool, and then receive the same amount (in expectation), minus the pool fee, but with much smaller variance, as the larger pool will much more frequently get lucky and then distribute the reward (minus the pool fee) to the contributors in proportion to their hash power. But either way, your expected reward will be approximately the same, whether or not you work in a pool (modulo the pool fee), it's just whether you get a large amount very rarely or a small amount very often.