| |
| ▲ | adwn 3 hours ago | parent [-] | | The idea is that you can start with the next head earlier than all the others, giving you an edge in being the first to find the next block. | | |
| ▲ | copirate 2 hours ago | parent [-] | | But what do they gain by doing that? What's the edge? Starting earlier doesn't give you any advantage. | | |
| ▲ | palata 2 hours ago | parent [-] | | > Starting earlier doesn't give you any advantage It's a race. Starting earlier obviously gives an advantage?! | | |
| ▲ | copirate 2 hours ago | parent [-] | | No it's not a race, it's a lottery. It would be like saying you've an edge if you start earlier at the roulette. | | |
| ▲ | palata 2 hours ago | parent [-] | | I think you're confused. In a lottery, the more tickets you buy, the higher your chances to have the winning number. If we played with a roulette and said "the goal is to be the first to have a winning number at the roulette" and I could try 50 times before you started, obviously I would be more likely to win our game, wouldn't I? | | |
| ▲ | copirate 2 hours ago | parent [-] | | > In a lottery, the more tickets you buy, the higher your chances to have the winning number. Yes, and it's exactly the same in bitcoin with the hashing power. Each hash is a ticket. > If we played with a roulette and said "the goal is to be the first to have a winning number at the roulette" and I can try 50 times before you start, obviously I am more likely to win our game, am I not? In bitcoin the goal is not to be the first. The goal is to find a winning hash that's on a chain that will not be abandoned. As soon as a new block is propagated you start mining on the new head. It doesn't change anything that you previously worked on another chain. The time spent on the previous chain is not wasted, unless finding a block wouldn't have got you the reward. There is a kind of a race if 2 blocks are found simultaneously. But that's not really what this discussion is about, and in this case the outcome depends mostly on network connectivity. | | |
| ▲ | palata 2 hours ago | parent [-] | | It is precisely what this discussion is about. From the article: > The key idea behind this strategy, called Selfish Mining, is for a pool to keep its discovered blocks private, thereby intentionally forking the chain. The honest nodes continue to mine on the public chain, while the pool mines on its own private branch. If the pool discovers more blocks, it develops a longer lead on the public chain, and continues to keep these new blocks private. When the public branch approaches the pool's private branch in length, the selfish miners reveal blocks from their private chain to the public. > In bitcoin the goal is not to be the first. The goal is to find a winning hash that's on a chain that will not be abandoned. The goal is to be the first (or very close to the first), because it makes it much more likely that your chain will not be abandoned. If you wait 2 days before you reveal your block, obviously it will be abandoned... | | |
| ▲ | copirate an hour ago | parent [-] | | > The key idea behind this strategy, called Selfish Mining, is for a pool to keep its discovered blocks private, thereby intentionally forking the chain. The honest nodes continue to mine on the public chain, while the pool mines on its own private branch. If the pool discovers more blocks, it develops a longer lead on the public chain, and continues to keep these new blocks private. When the public branch approaches the pool's private branch in length, the selfish miners reveal blocks from their private chain to the public. I don't understand how this scenario is beneficial. If the selfish miner doesn't have 51% of the hashing power, they can discover more blocks than the public chain only if they are very lucky. They don't know in advance that they will be that lucky. Withholding blocks in hope of this luck means putting these blocks at a very high risk of being discarded and losing the rewards. Why would they do that, exactly? If they get lucky, they get the rewards of their chain, and discard the rewards of the other miners. If they don't, they lose a lot of rewards. On the other hand, if they just publish the blocks they find, they're almost guaranteed to get the rewards. Why take the risk? It sounds like putting your own rewards at risk just to put others' rewards at risk. It looks like the risks even out. > The goal is to be the first (or very close to the first), because it makes it much more likely that your chain will not be abandoned. Yes, if there are blocks that are found at almost the same time. But that's not the situation discussed here. In other situations, being first doesn't matter. If a miner finds a block before you do, then you just start mining on top of their block. You haven't lost anything. | | |
| ▲ | palata 15 minutes ago | parent [-] | | > Yes, if there are blocks that are found at almost the same time. But that's not the situation discussed here. It VERY MUCH is. Of course if you take another scenario that doesn't make sense, then it doesn't make sense :-). > They don't know in advance that they will be that lucky. Whenever you find a block, you know you are one of the first to find it. It's obvious because nobody else has published a block. So you know you are lucky right now. You can decide to wait 1, 2, 5, X seconds before you reveal your block and start mining the new block in the meantime. Maybe you just mine for 5 seconds before revealing the block, and that's the winning strategy. Maybe you wait until someone else publishes their block and you immediately reveal yours, ending up with two competing chains but knowing that you had a headstart with yours. The detail of whether or not this is profitable, and how exactly you should do it (Wait X seconds? Wait until someone publishes a block?) is statistics and game theory ("What if the others are also withholding their blocks now? What is their strategy?"). The whole question is whether or not there is a practical, profitable strategy doing that. |
|
|
|
|
|
|
|
|
|