Live data from Hacker News

Why Is It Taking 20 Minutes to Mine This Bitcoin Block?

r6.ca

41–50 of 128 posts

Re: Why Is It Taking 20 Minutes to Mine This Bitcoin Block?

#41

Earlier quoted context omitted.

Thanks. Why can't all math teachers talk like that? I mean... I know you're clever and all, but if you were really clever you'd explain it in a way that's easy to understand. Still, kudos to the OP. That was a great attempt to be precise.

Understanding is one thing, explaining in layman or easy to undertand terms is another, and sometimes it takes a lot of effort.

https://www.youtube.com/watch?v=FjHJ7FmV0M4

You guys would love Richard Feynman.

Re: Why Is It Taking 20 Minutes to Mine This Bitcoin Block?

#42
post #29

TLDR: Since blocks that take a long time to mine fill up more wall-clock time, if you pick an arbitrary instant of wall clock time, you're more likely to be in a "slow" block than a fast block. Specifically, you expect to wait 2x the average.

If a bunch of miners decide to flee Bitcoin, it might take an hour or more to mine a block.

I've been thinking about the game theory aspect of that, and it's a bit hard to work out whether that will cause even more miners to flee. If so, that could very well be a death spiral.

It's hard because transaction fees might make up the difference. Though it's hard to imagine everyone being ok with >$100 transaction fees.

Re: Why Is It Taking 20 Minutes to Mine This Bitcoin Block?

#44
post #35

This is why I like block times of 2.5 minutes that Litecoin does. Rarely the block takes over 4 minutes. So even if it takes a couple of blocks, it's still within 10 minutes. Even 5 minutes a block would be better than bitcoin's 10. With bitcoin, if you put a reasonable fee, but your transaction doesn't make the next block, it can take more than an hour, which makes impractical certain transaction types like online s…

Most simple criticisms of why Bitcoin does things the way it does and then suggestions for simple ‘improvements’ such as yours (5 minute interval) tend to be naive and wrong. The 10 minute interval for Bitcoin transactions was chosen as the best tradeoff to balance pros and cons for making it shorter or longer. Stackexchange has a good discussion on the topic: https://bitcoin.stackexchange.com/questions/1863/why-was-…

10 minutes was Satoshi's very rough guess at what a reasonable compromise might be. He didn't have any empirical data and probably didn't give it much thought. Since then we have some real data about propagation times, e.g. [1], and most other blockchains have chosen much faster block times, like ~12s for Ethereum.

[1] http://www.tik.ee.ethz.ch/file/49318d3f56c1d525aabf7fda78b23...

Re: Why Is It Taking 20 Minutes to Mine This Bitcoin Block?

#45
post #39

Earlier quoted context omitted.

This reminds me of headwinds in airplanes. You might think that on average, wind cancels out. Sometimes you have a tailwind, sometimes you have a headwind and over time it will all average out. This is not the case. On average, wind reduces your groundspeed. The short of it is you spend more time in a headwind, so you spend more time experiencing the bad than good. There's also the fact that even a direct crosswind s…

Wouldn't cross wind cancel out in average though? (even though head and tail winds don't)

No, because you spend some of your forward speed flying into the wind to keep the desired ground track.

Imagine an airplane that flies 100mph. You want to fly north, but you have a 90pmh crosswind from the east. You have to point almost directly into the wind just to keep from getting blown off course. You can turn a little to the north, and you'll go very slowly. If you instead have the wind come from the east, you still have the same problem.

Maybe easier analogy: to get directly across a river, would you rather swim across one going fast or slow?

Re: Why Is It Taking 20 Minutes to Mine This Bitcoin Block?

#46
post #29

TLDR: Since blocks that take a long time to mine fill up more wall-clock time, if you pick an arbitrary instant of wall clock time, you're more likely to be in a "slow" block than a fast block. Specifically, you expect to wait 2x the average.

If a bunch of miners decide to flee Bitcoin, it might take an hour or more to mine a block. I've been thinking about the game theory aspect of that, and it's a bit hard to work out whether that will cause even more miners to flee. If so, that could very well be a death spiral. It's hard because transaction fees might make up the difference. Though it's hard to imagine everyone being ok with >$100 transaction fees.

If a bunch of miners flee, the expected profit for the remaining miners actually increases (marginally). Assume instant network propagation, the probability that a given hash will result in a block is constant. Since miners fleeing does not decrease the hash power of the miners that choice to stay, they have the same hashrate, so the rate at which they mine blocks is constant, and their expected profit is unaffected.

If we acknowledge the propagation delay, their expected profit increases slightly because of the reduction in the probability that their blocks would be orphaned.

Additionally, the increased congestion would likely increase the transaction fees, further increasing the per-block profits.

Once the network readjusts and the difficulty decreases, the remaining miners would see a windfall profit.

The potential death-spiral would only come if the temporary increase in delay causes the value of bitcoin to fall, in which case more miners will likely flee. If this happens fast enough, the blockchain may never reach its next adjustment.

Re: Why Is It Taking 20 Minutes to Mine This Bitcoin Block?

#47
post #40

Earlier quoted context omitted.

This reminds me of headwinds in airplanes. You might think that on average, wind cancels out. Sometimes you have a tailwind, sometimes you have a headwind and over time it will all average out. This is not the case. On average, wind reduces your groundspeed. The short of it is you spend more time in a headwind, so you spend more time experiencing the bad than good. There's also the fact that even a direct crosswind s…

That's really neat, thanks! An interesting related fact is that with equal distance traveled through headwinds and tailwinds a slower plane will be relatively more affected. From ~12% longer time with a wind speed 1/3rd plane speed down to ~1% with a wind speed 1/10th plane speed.

That's one of the reasons it's easier to navigate in a fast airplane than a slow one (another being you see more ground in the same amount of time).

Re: Why Is It Taking 20 Minutes to Mine This Bitcoin Block?

#48
post #32

Earlier quoted context omitted.

Can you explain the multiple meanings you see in the question?

* What is the average time it takes to mine a block? * If I choose a time uniformly what is the expected time it will take to mine that particular block. The difference between them being that blocks that take a long time occupy more space on the timeline than shorter blocks and are therefore more likely to be chosen.

>What is the average time it takes to mine a block?

How do you get this question from CyrusL's original question? CyrusL explicitly specifies that it is 10 minutes per block [0], and that he is uniformly picking a point in time.

[0] Admittedly, he does not specify that it is a Poisson distribution.

Re: Why Is It Taking 20 Minutes to Mine This Bitcoin Block?

#49
post #29

TLDR: Since blocks that take a long time to mine fill up more wall-clock time, if you pick an arbitrary instant of wall clock time, you're more likely to be in a "slow" block than a fast block. Specifically, you expect to wait 2x the average.

  you expect to wait 2x the average.
Actually, this is also slightly incorrect, conflating "expected wait time until next block" with "average current block duration". These are two different expectancies: You always expect to wait exactly the average wait time of 10min until next block; and you expect your block to be of double average duration (20min, with the instant of sampling lying somewhere in the middle).

The concept of memorylessness is not very intuitive, and thus from the true statements "average block time 10min" together with "the current instant is expected to be somewhere in the middle between two blocks" is drawn the wrong conclusion (disregarding memorylessness): "average wait time is 10/2 = 5min". So, new attempt at a tl;dr:

"you expect to wait 2x the intuitively (wrongly) expected time (of 5min)"

Re: Why Is It Taking 20 Minutes to Mine This Bitcoin Block?

#50
Say you have 10,000 miners, once you find a hash you can start all your miners mining the next block. Can you use the time between blocks to your advantage?

If you find the hash after say 6 minutes, you could delay broadcasting the block to the network for another minute or two, and give yourself an advantage.

Yes there’s a risk another miner would find the same hash, but statistically you could estimate the optimal delay for risk vs reward.

Post reply on HN