Episode 5: The Time-warp Soft Fork & Bitcoin Cash's Difficulty Adjustment Drama
Ep. 05

Episode 5: The Time-warp Soft Fork & Bitcoin Cash's Difficulty Adjustment Drama

•

Episode description

In this episode of the Van Wirdum Sjorsnado, Sjors explains the “time-warp attack” on Bitcon and Aaron explains the unfolding drama with the bcash difficulty adjustment.

Helpful Links:

https://bitcoinmagazine.com/articles/miners-are-milking-bcashs-difficulty-adjustments-and-why-problem1

https://bitcoinmagazine.com/articles/why-bcash-mining-shouldnt-affect-bitcoin-much-bitcoin-mining-could-ruin-bcash

https://read.cash/@jtoomim/dark-secrets-of-the-grasberg-daa-a9239fb6

https://blog.bitcoinabc.org/2020/07/23/announcing-the-grasberg-daa/

https://github.com/TheBlueMatt/bips/blob/cleanup-softfork/bip-XXXX.mediawiki

Chapters

00:00:00 Block timestamps and difficulty retargeting
00:07:10 How the time-warp attack lowers difficulty
00:17:51 A proposed time-warp fix and consensus cleanup
00:23:18 Why the expected block interval is slightly off
00:25:23 Bitcoin Cash difficulty disputes: the background
00:29:15 Miner switching and the minority-chain problem
00:33:50 Emergency adjustment and mining the algorithm
00:38:54 Replacing the emergency adjustment
00:42:47 Fast retargeting and isolated-node security
00:44:52 ASERT, Grasberg and correcting historical drift

Support the Show!

Follow Bitcoin Magazine on Twitter @BitcoinMagazine

Follow Aaron van Wirdum @AaronvanW

Follow Sjors Provoost @provoost

Music:

Song Title: Segwit Sounds

By: The NakamoTones

Album: Citadel Music

Produced by: Bitcoin Audio

Transcript

Download transcript (.vtt)
0:08

Aaron van Wirdum Live from Utrecht, this is the Van Wirdum Sjorsnado.

0:12

Sjors Provoost Hello.

0:13

Aaron van Wirdum Sjors, you're back.

0:14

Sjors Provoost I am.

0:15

Aaron van Wirdum You made it back.

0:16

Sjors Provoost Yes.

0:17

Aaron van Wirdum Today we're going to discuss block times.

0:21

Sjors Provoost Oh, yeah.

0:22

Aaron van Wirdum Block times.

0:23

Sjors Provoost And the time warp attack.

0:25

Aaron van Wirdum Time warp attack. And also, yeah, so today we're going to do it slightly different, I think.

0:30

Sjors Provoost What?

0:30

Aaron van Wirdum We kind of did this in the first episode or not.

0:33

Sjors Provoost I don't remember. Yeah, in the first episode, we did two different topics.

0:36

Aaron van Wirdum Yeah, so you're going to explain one topic to me, sort of, and then I'm going to explain one topic to you, sort of.

0:42

Sjors Provoost That sounds about right.

0:43

Aaron van Wirdum That was sort of our original format, and then we pivoted away from that. And now for this episode, we're going to do a special where we pivot back.

0:51

Sjors Provoost Or maybe it's new normal.

0:53

Aaron van Wirdum Or maybe. You don't like making promises about the future, do you, Sjors?

0:58

Sjors Provoost Why would I do that? I like to make promises about the past.

1:02

Aaron van Wirdum So block time, but that's the top. We do have a main topic. The main topic is block times and difficulty adjustment stuff. So yes, you're going to explain the time warp attack to me and a potential fix to that. And then I'm going to explain the Bcash, Bitcoin Cash, block difficulty wars that are going on a little bit. I haven't... I haven't done sort of the extensive research, which I sometimes do, where I sort of dive into this stuff for like a week. But I've spent some time where I can explain what they're arguing about this time.

1:41

Sjors Provoost Okay.

1:42

Aaron van Wirdum But let's start with your part. You're first going to explain to me what is a time warp attack. Do you think it's necessary to get into the very basics even before we get that?

1:53

Sjors Provoost We can start with the basics and then try to get there.

1:56

Aaron van Wirdum Okay, let's go.

1:59

Sjors Provoost You know, every 10 minutes there's a block. More or less.

2:02

Aaron van Wirdum Yeah.

2:03

Sjors Provoost There's even people who say, oh, we should just use blocks as a source of time and not worry about UTC. And then the first thing I need to tell them is that actually there is a rule in the consensus code that says a new block may not be more than two hours in the future, according to your computer. Plus some correction based on the computers in the network that you ask what time they think it is. Right. And so, no, UTC is very much the boss. However...

2:34

Aaron van Wirdum Bitcoin is actually using UTC itself, so we can't replace UTC with Bitcoin.

2:39

Sjors Provoost No, and UTC is actually pretty decent. I mean, it's very well defined. And if you don't like it for whatever reason, as long as you appreciate the definition of a second... then you can just correct whatever UTC is. If the government tells you UTC is something different now, then I'm sure you can reprogram your... But nobody will do that because it's baked into every single piece of software and every single piece of hardware on the planet.

3:03

Aaron van Wirdum Yeah, well, I can foresee it becoming a problem if we go interplanetary because at that point, it's kind of very much biased towards Earth to use UTC, isn't it?

3:14

Sjors Provoost Well, the bigger problem is when you go interplanetary is where's the hash power. If all the hash power is near the sun.

3:20

Aaron van Wirdum Also very biased.

3:21

Sjors Provoost It's going to cause problems because you can do eclipse attacks and stuff. Yeah.

3:27

Aaron van Wirdum That's what we'll discuss in another episode. Maybe.

3:30

Sjors Provoost Intergalactic timekeeping stuff.

3:33

Aaron van Wirdum For now. So yeah, block times. There's a block about every 10 minutes. And it's based on you. About every 10 minutes, right?

3:40

Sjors Provoost Correct.

3:40

Aaron van Wirdum We need to clarify that. It's found on average. once in 10 minutes, or were you going to get there? Yeah,

3:46

Sjors Provoost it's like, I think it's a Poisson distribution, so it's like radioactive decay. So you get one particle or one block or maybe two blocks in a row and then nothing for a while and then, you know, a block. So there's a lot of randomness in it. But the goal is that because there's a certain underlying rate, namely the hash power, You have a certain expectation of when these blocks are going to come, and that should be once every 10 minutes. And if you have enough blocks, you can determine the average. It's not a fat-tailed thing. So that's very nice. So basically, what happens is, in the beginning, there was one CPU, or whatever Satoshi was running, and it was producing blocks, you know... once every 10 minutes. But the problem is, what if you, or probably less often, but what if you start adding more computing power to the network, then, well, the blocks start coming in faster because of the way the blocks work. Let's not explain that in too much detail, but the more hash power you have, the faster the blocks will come in. So there's a way to deal with that, which is that every two weeks or so, the equivalent of blocks of two weeks, not actually two weeks, you check how many... You check how many minutes or how many seconds pass between the first block of that period and the last block of that period. And then you just divide that by the time and then you know, okay, this is going too fast or it's going too slow. If it's going too fast, you make it a little bit more difficult to produce blocks. And if it's going too slow, you make it a little bit easier to produce blocks. Yeah,

5:19

Aaron van Wirdum so if it happens 10% too slow... then the difficulty should adjust by 10%.

5:26

Sjors Provoost Yes.

5:27

Aaron van Wirdum In order for, you know, the expected next, what is it, 2016 blocks to actually be found within the two weeks as planned. Like it should be two weeks for 2016 blocks.

5:38

Sjors Provoost Exactly. And the way, so the details kind of matter here. You take... For a period of 2016 blocks, you take the last block and you take the first block, and you check the times between those two. That's the only two things you check. And it's kind of weird, because you might expect, why wouldn't you compare the last block of every period? That's because Satoshi produced many off-by-one errors, and I'm sure there was a reason for it, but probably not. And this is one of them. So it's comparing the last block of the period and the first block of the period.

6:09

Aaron van Wirdum Oh, that's what makes it an off-by-one error?

6:13

Sjors Provoost Yes.

6:13

Aaron van Wirdum That it's the first block and the last block as opposed to just the last block each time.

6:17

Sjors Provoost Yeah.

6:18

Aaron van Wirdum Oh, yeah, that makes sense.

6:20

Sjors Provoost Or the first block each time. No, the last block each time. That would make sense. And you can do...

6:26

Aaron van Wirdum Yeah, just at least one block per period. But now it's... Yeah, okay, I get why that's one off error. Yeah. I never thought about this, but that makes total sense.

6:34

Sjors Provoost There's many of those. There are many constants in the Bitcoin Core software that are like 101 or...

6:41

Aaron van Wirdum So, and this one off by one error, and we're not going to dwell on this because it's not the topic of the podcast, but does it have any sort of effect on Bitcoin that's...

6:50

Sjors Provoost Yes, actually. But we'll talk about that all the way at the end. Okay. Because I think it's nice to explain that it's not exactly 10 minutes. Okay. Because of that. But it's not a big enough deal that that's not really a problem.

7:02

Aaron van Wirdum It's not a problem that people feel needs fixing.

7:05

Sjors Provoost No. But there is a problem that people, at least some people, think probably should be fixed. Okay,

7:10

Aaron van Wirdum yes. This is the time warp attack.

7:13

Sjors Provoost Exactly. So. The time warp attack. There we go. So what you can do is miners can just kind of arbitrarily put in the time. Like their mining equipment, if it's very nice, it'll put in the exact time in the block that it believes is the case. But there could be incentives to game this time.

7:33

Aaron van Wirdum Yeah, because miners can just choose which time they put in the block. Pretty much. It's limited. Like if it's out of bounds too much, then the network will say that's out of bounds too much. That's not correct. And loosely speaking, miners, they can always lie by like a minute or whatever. Yeah, so we've

7:50

Sjors Provoost already discussed one boundary. They cannot put anything in more than two hours in the future or a little bit more than two hours. For

7:57

Aaron van Wirdum example, yes.

7:59

Sjors Provoost That's one thing they can't lie about. But in terms of the past, there's another rule, namely that every... You look at the previous 11 blocks and you take the median time of that, and it has to be at least one second more. And to roughly say what that means is roughly every block has to be one second later than the previous block. But it's not exactly the neighboring blocks, it's just the 11 blocks before it.

8:27

Aaron van Wirdum Okay, so you look at the previous 11 blocks, and then you take the median of that, so that's the sixth block.

8:36

Sjors Provoost It's not necessarily the sixth block. If every block is one second after the other, then it's the sixth block. But the blocks don't have to be in order of time either. So, for example, you could have one block that's one second. So block one could be a second one. And then, let's say, the first second of the day. One second after midnight. Then the second block would be two seconds after midnight. The third could be three seconds after midnight, etc. Then the median would be six. If you're at block 12 and you look at the previous 11, then the median is 6. But if the last block, it could be 1 second after, 2 seconds after, and then again 1 second after, and 2 seconds after, and 1 second after, and then 10 seconds after, and then the median would be something different. So it's not necessarily the middle value.

9:29

Aaron van Wirdum Okay. And then this 12th block needs to be later than the median.

9:34

Sjors Provoost Yeah. One second later than the median. At

9:35

Aaron van Wirdum least one second later.

9:37

Sjors Provoost Yes.

9:37

Aaron van Wirdum Okay.

9:38

Sjors Provoost Right. So what you can do as a miner is you could say, I'm just going to pretend that I started mining at midnight and then one second after, two seconds after, et cetera.

9:47

Aaron van Wirdum Well, to be clear. In this context, we're talking about many miners basically coordinating this attack, right? Like as a single miner, you can't get very far, but it's kind of like a 51% attack where a lot of miners, and I don't know if in this context it needs to be 51% exactly, but at least a lot of miners need to coordinate to make this happen, right?

10:10

Sjors Provoost Yeah, the math gets complicated, or at least I don't know it. when it's not the whole majority. But for this illustration, we're just going to pretend that 100% of the miners are going to play this game.

10:19

Aaron van Wirdum Right. All miners are trying to game the system here. Yeah. Yes.

10:22

Sjors Provoost And, you know, at some point, the nodes will reject the chain, but what we're about to discuss will not be rejected by nodes, at least not without an intervention.

10:30

Aaron van Wirdum Right. Exactly. That's why the attack could potentially work. Nodes would accept this. Yes.

10:35

Sjors Provoost Yeah. And of course, if you have 51%, then you can just reorg everything out that doesn't perform the attack.

10:41

Aaron van Wirdum Right, so that's why 50%. Yeah, okay, sure.

10:44

Sjors Provoost So what you do is, the first block is one second after midnight, the second block is two seconds after midnight, et cetera, et cetera.

10:51

Aaron van Wirdum Yeah, so they're not really mined then. That's the time that all these miners are putting into the blocks.

10:55

Sjors Provoost Right. And then the very last block in the difficulty adjustment period would be, you would think, oh, so they'll take 2016 seconds after midnight. But no, they will take the actual time. Plus two hours, but it doesn't really matter.

11:10

Aaron van Wirdum So the first 2015 blocks that are mined within difficulty periods, no matter when they were mined, no matter how fast they were mined, they're all... the miners lie and they say they were all mined one second after the other. So the first 2015 blocks were mined in the first 2015 seconds after midnight. In other words, in

11:30

Sjors Provoost half an hour, basically.

11:32

Aaron van Wirdum Is that half an hour? Yeah. Okay.

11:33

Sjors Provoost So if you looked at the chain afterwards and you would not look at your log files or anything like that, you would just see 2015 blocks mined in a 30 or 40 minute period. And then... You would see one block that was just mine now.

11:50

Aaron van Wirdum Yes, and then the 2016 block was almost two weeks later. So it looks like there were 2015 blocks in 256. Sorry, 2015 seconds. Then there was almost two weeks of nothing. And then there was the last block. That's what it looks like.

12:05

Sjors Provoost And so this took exactly two weeks just to make it easier. And so your difficulty adjustment, this would have no effect. You think, okay, no problem. I look at the last block. I look at the first block. There's two weeks between them. So all is good. We continue.

12:19

Aaron van Wirdum Nothing changes. Difficulty stays the same.

12:21

Sjors Provoost But now the new period, these evil miners, they continue with their earlier one second increment. So they go back in time two weeks or almost two weeks. Right. And they start adding seconds again.

12:33

Aaron van Wirdum And the first block they mine is then the 2016th second after. midnight or whatever yeah and there's a little bit of one after 2017 2018 seconds we just go on on the on the original streak

12:45

Sjors Provoost Pretty much, yes. I think there's some adjustment you need to make for the extreme value in there, but it's small.

12:52

Aaron van Wirdum Yes, and this would be accepted by nodes. This would be accepted by the protocol because of what we just discussed about it needs to be the median. I'm not sure if I totally understood that part, but I assume that's correct.

13:05

Sjors Provoost The median is like the middle value. So it's not the middle block. It's like if you take the blocks and their timestamps and you order the timestamps. from low to high, then it's the one in the middle. So if you have timestamps from two weeks ago, two weeks ago, two weeks ago, two weeks ago, two weeks ago, two weeks ago, et cetera, et cetera, now, well, you order them by time. You take the middle one two weeks ago. So it's like, okay, no problem. So you just keep doing that. And now at the end of the difficulty period, we've passed about, fake time has passed about one hour and 10 minutes. But the new block comes in and you don't lie about the time. Now the difference between the last block of this period and the first block of this period is...

13:48

Aaron van Wirdum Four weeks.

13:49

Sjors Provoost Yes.

13:50

Aaron van Wirdum Yes, because the first block, as we just said, was on second 2016. And then the last block was mined on the real time. And since it wasn't really mined on 2016, that was a lie that was accepted by the network. And now the last real block was mined at a real time. So now it's four weeks. Yep. So

14:08

Sjors Provoost what happens? So now the difficulty algorithm says, hey, wait a minute. It's taking a month, you know, this entire series of blocks. Let me reduce the difficulty. And so the difficulty goes down. I think it can go down by 25% or something.

14:24

Aaron van Wirdum It can go down like 4x.

14:32

Sjors Provoost Oh, 4x.

14:33

Aaron van Wirdum I think so, yeah.

14:34

Sjors Provoost Okay, so then I would just drop 2x.

14:35

Aaron van Wirdum Yes, I think so, yes.

14:37

Sjors Provoost And so the next time you keep repeating this little trick. And the difficulty starts dropping quite fast. And at some point you can mine... You can just keep

14:45

Aaron van Wirdum repeating this trick.

14:47

Sjors Provoost Yeah, you just keep repeating it. And at some point you're mining it one block every second. And then you can no longer speed it up because one second was the minimum. Right. So this is bad because you could create a lot of blocks.

14:57

Aaron van Wirdum Right. So to be clear, the reason miners would potentially want to perform this attack, in theory at least, is because this allows them to mine way more bitcoins than... their hash power would actually allow them to mine and yeah in this case they're coordinating and you know they can sell the bitcoin so it's profitable for them to be able to mine way more bitcoins with their hash power right

15:19

Sjors Provoost yes exactly assuming the price doesn't drop and all that sort of problematic game theory but Yeah, so this is not optimal. And in fact, I think in the middle of 2018, this time warp attack was used as part of a proposal. Not a serious proposal, I think. More of just a thought experiment of how you could do scaling. Right. It

15:42

Aaron van Wirdum was part of a scaling proposal, I think, by Mark Friedenbach.

15:46

Sjors Provoost Yeah, and I think the idea would be you create some sort of parallel sidechains -ish. that all have their own rules and then you commit to them in the main blockchain or you put all the transactions of them i think you put all the transactions in the main blockchain so you can just you know if you speed up the blockchain by 600x essentially then i guess you have 600 megabyte blocks or right 2400 megabyte blocks

16:13

Aaron van Wirdum so it kind of went from a very theoretical attack to something that became in the realm of something people were thinking could be used.

16:24

Sjors Provoost Yeah, and I think it was also considered briefly in the Segwit 2x time period. Because one of the questions was, if you do a hard fork between, like you have the 1x chain and the 2x chain, essentially that's one way you could see it, then wouldn't it be handy if you could time warp attack the 1x chain? Because then there would not be two chains. There would just be one because the other one would be just insane. But

16:51

Aaron van Wirdum it wouldn't... Wouldn't you just 51% attack it and make sure no transactions are mined? That would be a lot easier, wouldn't it?

16:58

Sjors Provoost Yeah. I forgot what the role was. I think the time warp was discussed there. But you're right. In this case, it wouldn't matter. You would speed it up, but you wouldn't stop it. Yeah. So I'm not exactly sure what was going on there.

17:09

Aaron van Wirdum Yeah. Anyway, so...

17:10

Sjors Provoost I guess you could run it into the 2038 bug.

17:16

Aaron van Wirdum Yeah, you could speed that one up.

17:18

Sjors Provoost No, you wouldn't, right? Because the timestamp 2038, you wouldn't reach it because you're just adding seconds.

17:25

Aaron van Wirdum Oh, is that an actual timestamp bug based on UTC?

17:30

Sjors Provoost I think the problem is that the timestamp is not enough bits and it's just going to run out. Oh, really? In 2038. But if you use a time warp attack, it'll never be 2038. So you can keep going until the year 3000. So I guess maybe that could be a way to avoid having to do a hard fork. In 2038, pretend time is not moving anymore. But this all sounds horrible. So how do we fix this time warp attack? Yeah, so there's a fix for it. Yeah, and this was proposed by, I think... I mean, this attack has been known since 2012 or something. It's not... It's an

18:06

Aaron van Wirdum old attack, sure, yes. It's something people have known about for years and no one really worried about it because it's so theoretical and unlikely to actually happen. But yeah, so now, partly because of this proposal, probably, it sort of [unclear] as something developers were starting to think about, like, maybe this is something we should fix. That's what happened.

18:27

Sjors Provoost Yeah, it's been on those, like, we should probably deal with this list.

18:30

Aaron van Wirdum Yeah, one of these lists.

18:32

Sjors Provoost Yeah. So Johnson Lau proposed that you can add a constraint for the first block. of every new difficulty adjustment period, just the first block. And he said, you basically constrain the time. So instead of going two weeks back in time, what this attack would do, you would say, no, you can't do that. The first block can only go back... Whatever amount of time. And he said...

18:56

Aaron van Wirdum Versus the last block of the previous period.

18:58

Sjors Provoost No, the first block of the new period.

19:00

Aaron van Wirdum Yeah, versus the last block of the previous period. It can only go back in time, say half an hour or whatever it is. And

19:08

Sjors Provoost he said at least a day or at most a day would be enough. So if you allow it to only go back by a day, then the attack... In order for you to do an attack, you would need 51% of the hash power for 24 hours. And if you have 51% attack for 24 hours, you can already re-org out the Coinbase rewards, which are frozen for 100 blocks. So you can create an absolutely enormous mess for anyone who is spending those Coinbase rewards. So basically the idea was like, well, that number one day, that constraint is strong enough to, like, if you do this attack, you're going to cause damage anyway. But Blue Matt implemented this fix.

19:52

Aaron van Wirdum Matt Corallo, yeah.

19:53

Sjors Provoost Yeah, Matt Corallo. And he picked 600 seconds, namely 10 minutes, which is the shortest period.

20:00

Aaron van Wirdum So you can only mine a block or the time you put in can only be 10 minutes. Prior to the last block of the previous period. Exactly.

20:08

Sjors Provoost And the reason for this 600 seconds is because there is some mining hardware that messes with the timestamp for finding a unique solution. So it's grinding the timestamp. And it grinds it by a maximum of 600 seconds back in the past. So in order not to break that type of hardware... you add the constraint for 600 seconds, which is plenty small enough because we just discussed anything less than a day. Right.

20:34

Aaron van Wirdum Oh, that's interesting. Okay, so the reason he went for a lot smaller time frame is to not break existing hardware.

20:41

Sjors Provoost Well, he could have gone for zero. That would have been the smallest time frame. You could say it cannot be in the past compared to the last block. But by making it 600 seconds, it basically doesn't break any hardware. So that's good. And then you could say, well, that's still within margin because you could make it one day, which is like a much larger margin, which is still ridiculous to go back one day in time. But that would be enough to thwart the attack. So even

21:08

Aaron van Wirdum going back 10 minutes is ridiculous, but that way you don't break hardware.

21:12

Sjors Provoost Not really if you assume there's some deviation in clocks. Not everybody uses an atomic clock. So a clock drifting for an hour or so, that would be bad. But a clock drifting for a few minutes and there's network time. So maybe you produce a block and you send it over and I don't know.

21:29

Aaron van Wirdum Fair enough.

21:30

Sjors Provoost But you have to inspect it. And the other thing is you have to inspect the previous block when you receive it in order to mine on it. And how much effort do you want to put into studying that block super carefully and not messing up? It's probably nice to have some margin there. You don't have to know the exact second of the block.

21:47

Aaron van Wirdum Fair enough. Well, and this would obviously, this could be done as a soft fork.

21:51

Sjors Provoost Yeah. In fact, it was part of a proposed soft fork. I mean, the soft fork is still proposed. It's called BIP XXX, the Great Consensus Cleanup. And it contains a couple of small fixes, including this one. Yeah. Unfortunately, there was a lot of debate about some of the other aspects of that soft fork, and it kind of ground to a halt. So, you know, the proposal is still there. I don't think anybody objected to this time warp fix, but it's not enough to do a soft fork just for this fix.

22:20

Aaron van Wirdum Right, but this was also not one of the controversial parts of this. No. What do we call it? Like collection of soft forks? Bundle?

22:28

Sjors Provoost The great consensus cleanup is what Matt Corallo called it.

22:31

Aaron van Wirdum Yeah, it was like a bundle, right?

22:33

Sjors Provoost Yeah, it was a bundle of little annoying things that should be fixed. The other one was the minimum size of a transaction should be 64 bytes so that it cannot be confused for a hash of a transaction.

22:45

Aaron van Wirdum Right.

22:45

Sjors Provoost So I guess 65. Yeah,

22:48

Aaron van Wirdum there was, I think, some undoing of an opcode that no one uses. Yeah, that was a problem. But that was sort of the controversial one. That's a problem. Because

22:57

Sjors Provoost as we discussed in earlier episodes, there are hashed scripts out there. We don't know what's behind the hash. And you could accidentally confiscate some of these coins. Even though there's no sane way you could... think of that anybody would use it, that's kind of a difficult territory. It's still

23:13

Aaron van Wirdum precedents. I tend to agree with that. That's maybe not a precedent we should be setting.

23:18

Sjors Provoost Yeah, and there were ways around that too. So anyway, this time warp fix has an interesting property, namely that partially because of this off-by-one problem we talked about in the number of... blocks that you compare um but also some fancy math the expected block time is not exactly 10 minutes but it is 10 minutes and six seconds right now sorry it's 10 minutes and 0.6 seconds right now

23:43

Aaron van Wirdum yes okay so it's less than it's more than nothing but less than a second off from what we should expect

23:52

Sjors Provoost yeah exactly it is a little bit over half a second off and um If with the soft fork, if you do a time warp attack, you can actually slightly speed up the blockchain to where it is exactly 600 seconds.

24:11

Aaron van Wirdum So we can still attack the network to become correct.

24:18

Sjors Provoost So that's nice. And if you want to understand this math, I do not understand this math. You have to Google the following six words in exactly the right order. Bitcoin, inverse, Erlang, distribution, sipa, Twitter.

24:32

Aaron van Wirdum Nice.

24:33

Sjors Provoost And you'll get to sipa’s Pieter Wuille. So that was Pieter Wuille. He did the math too. He did a Twitter quiz where he said, what's the expected time given this and this and this? And then everybody would have it wrong and he would explain, oh, you got to take this distribution. He used some keywords that are not ideal because Erlang is also a programming language. So it's just very annoying if you Google Bitcoin Erlang. Right. You get some other tools.

24:57

Aaron van Wirdum Right. All right. Okay. So that's the soft fork. That's the time warp attack. And that's how we fix it potentially.

25:03

Sjors Provoost Yeah. And now how do we get to this topic of time warp attacks? Why do we get to this topic? Yeah, why were we talking about block times in general?

25:12

Aaron van Wirdum Oh, is this the bridge you're trying to build for me? No,

25:14

Sjors Provoost this is the bridge we actually had in the preparation. We started about the other topic.

25:17

Aaron van Wirdum You're right, but I guess that's right. Yeah, this is why I suggested this topic, isn't it?

25:23

Sjors Provoost Yes.

25:23

Aaron van Wirdum Yes, yeah, okay, so there's this Bcash. drama going on again um new drama i personally love i kind of like drama especially if it's happening there over there

25:35

Sjors Provoost yeah can you specify which version of bitcoin cash because they split into abc and sv i

25:42

Aaron van Wirdum mean basically the abc version is the one that ultimately that in the end got the name bitcoin cash and then the other one is just called bitcoin sv these days um Yeah, I like once in a while they have this sort of... Like we had one sort of, Bitcoin sort of had this one civil war with them. And then we kind of tried to explain to them like... If

26:08

Sjors Provoost you fork once, you will fork again and again and again.

26:12

Aaron van Wirdum The importance of social scalability and protocol immutability and these kinds of things. Like we tried to explain it, they wouldn't listen. And now we're seeing it play out where they're just having another war every six months over a new protocol upgrade. And every six months there's... a threat of a split and new coins and it happened once and now it might happen again. And so for me, it's like how not to do Bitcoin and they're doing it over there in the wrong way. And I kind of, it's enjoyable in a way. And

26:41

Sjors Provoost it's useful. So shameless plug for a project. It's useful as

26:43

Aaron van Wirdum well. Yes. It's like we can sort of learn from it if you, in their defense, once in a while, there's something actually interesting going on there. I like their, What was that called? They had this privacy technology at one point.

26:56

Sjors Provoost Yeah, it was a mixing with unequal amounts.

27:00

Aaron van Wirdum No, it was... Anyways, once in a while, something actually interesting will happen there. But this is more like fun. The

27:07

Sjors Provoost shameless plug is sometimes they fork. And I work on a project called forkmonitor .info. Right. And basically, it's good because I need to test how the site works when a fork occurs. And it just doesn't happen with Bitcoin. Yeah,

27:23

Aaron van Wirdum so you can train your site once in a while. Yeah,

27:26

Sjors Provoost you can do it with Testnet, but Testnet is horrible.

27:28

Aaron van Wirdum So yeah, it might happen again. Okay, so I'm going to tell you the prehistory here first to sort of get to where... And by the way, I haven't... Oh, I think I already mentioned this, right? I haven't studied the new war in depth. I sort of understand it a little bit, but I haven't spent a week researching every argument or every person that's involved.

27:48

Sjors Provoost No undercover actions.

27:50

Aaron van Wirdum Yeah, I haven't gotten to what the Illuminati's point of view is here and the Bilderberg and how they're fighting with the lizards.

28:00

Sjors Provoost We're not that far from Bilderberg Hotel, right?

28:04

Aaron van Wirdum Oh, yeah, it's probably pretty close. You're making us suspect. I'm already very suspect in their eyes.

28:10

Sjors Provoost They always forget to invite us.

28:13

Aaron van Wirdum Okay. Excuse me. Here's the thing. At one point, Bitcoin Cash, they forked off, right? So they had the exact Bitcoin protocol with the change of the block size. I don't know if there was any other change. They had the fork protection thing, I guess.

28:32

Sjors Provoost Yeah, they had replay protection.

28:33

Aaron van Wirdum Replay protection, I guess. But in general, it was the same thing.

28:36

Sjors Provoost They yanked SegWit out. That was the main change.

28:39

Aaron van Wirdum Yes. Actually, I'm already starting this wrong.

28:42

Sjors Provoost Oh, no, no, no. They did more. Yeah, they did more. That's sort of the point. They removed SegWit, the soft fork aspect of it, but they did adopt the signature hashing algorithm.

28:52

Aaron van Wirdum They kept some of the stuff. They kept some of the good stuff. Yes. Don't tell RBTC this, but...

28:59

Sjors Provoost I think they know.

29:00

Aaron van Wirdum Oh, all right. Well, here's the thing. If you...

29:03

Sjors Provoost Greg Maxwell is on there, so...

29:05

Aaron van Wirdum Oh, yeah. So, yeah, but if he explains it to them, they'll just think he's lying. So that doesn't...

29:10

Sjors Provoost Okay.

29:11

Aaron van Wirdum They'll just believe the opposite overall. Sure, here's the thing. We're going to get to the point of the block difficulty thing. If you split off as a minority chain with the same hash power, there's this interesting dynamic where... So for simplicity's sake, we're going to assume miners are there to be profitable. They want to mine in the most profitable chain. And let's assume away some details that don't really matter for the general dynamic, like switching a chain might actually cost a little bit. But forget about these things. Just in general, there's this general dynamic. And it means that miners will switch to the most profitable chain. Okay, now, if... Okay, this means that the coins on both chains have their own price. Now let's assume that the Bcash coin is worth 10 times less than Bitcoin. It's less at this point, but let's assume 10 because it's easy. Then it means that the difficulty needs to be, and we're assuming same number of coins mined, like these are minor assumptions. Yeah. the difficulty must be at least 10 times as low for miners to actually... want to mine on the other coin right right because they're investing less hash power and all of that and they're getting less reward but then does that make sense

30:37

Sjors Provoost yeah you basically want to know how many hashes you need to produce for one you know to earn it back

30:43

Aaron van Wirdum yeah exactly and and one important thing to note here is that it doesn't at that point because if we're assuming difficulty adjustment of two weeks then it doesn't matter how many other miners are actually on that chain If there are lots of other miners on that chain, it just means everyone's finding blocks faster until the next difficulty. Only then will it adjust, right? Yeah. So here's what happens if at any point this minority chain becomes more profitable. So that means the difficulty is lower than this 10x price difference. Then all of the miners will jump on the minority chain, mine blocks very fast. Then the difficulty adjustment algorithm... will kick in after whatever it is maybe two weeks in this case 1.4 days or anyways fast too fast so then there's a huge readjustment the price doesn't change of the coin very much so there's a huge readjustment in difficulty so at this point it's not more profitable to mine anymore so at this point all of the rational miners will go back to the main chain so the main chain lost some hash power but after you know less than two days they'll jump back now they're all on the main chain on the main chain they keep mining not much will actually happen there and then after then when the main chain is about to adjust it a readjusted difficulty not much happen will happen there while the minority chain is still cranked up too high because there are no blocks being mined on the minority chain it just stalls and it stalls forever right and the stalling happened

32:16

Sjors Provoost even in the beginning right so the second you split if you have only one tenth of the hash power then it's going to take not two weeks before the next difficulty adjustment but forever but well 20 Well,

32:28

Aaron van Wirdum forever. If no rational miner mines on your chain, then it will never readjust.

32:33

Sjors Provoost Right. Yeah, because you will never get a block. Nobody wants to mine there. Yeah,

32:37

Aaron van Wirdum exactly. So the minority chain will just stall. And this is something that happened in the past. Or at least I think Namecoin had this and that's why they went for merge mining at some point. It was a known problem. So this is the problem. If you have a minority chain and a majority chain with the same hash power and the same difficulty algorithm and all that, then minority chain will inevitably stall forever, assuming miners are rational and these minor assumptions we made. And yeah, I

33:02

Sjors Provoost guess the only way to overcome that other than changing the rules would be fees. Because at some point there could be so many fees in the middle.

33:09

Aaron van Wirdum Yes, also something I assumed away there, but yeah, there could be some fee dynamic. But, you know, we're talking about Bitcoin Cash here where they really, really, really, really, really, really, really, really, really, really dislike fees. So that's also unlikely to happen. So it's, you know, just going to stall.

33:25

Sjors Provoost Yeah, so it's good to realize, I guess I didn't really think about it that way either, that if your value is one-tenth, it's not that you get one-tenth of the hash power. You get nothing. No,

33:34

Aaron van Wirdum you get nothing. Exactly. So that's the exact problem right there. That was the exact problem from the start.

33:41

Sjors Provoost Which they anticipated.

33:43

Aaron van Wirdum Yeah, they anticipated it at least. Well, I don't think they anticipated this actually, Sjors. Well, they

33:50

Sjors Provoost anticipated that the hash power would be lower. Which is why they immediately put in something called the emergency difficulty adjustment. Exactly.

33:56

Aaron van Wirdum That's what they anticipated. But I think the reason they put that in was because the initial splits. I think that's as far as they thought. The initial split would happen. And if at that point they would have a minority, then blocks would come in very slow or whatever. I think that's the part they anticipated. They didn't plan it out to the full extent. So, indeed, they had this emergency adjustment algorithm. And I have the details here of what it did exactly. It was if there was within 12 hours, fewer than six blocks, then difficulty would adjust downward by 20% for the next block. Yeah. Okay. And I think this could be done. with a couple of blocks in a row. So then you had 12 hours of nothing and then a couple of blocks that did 20% each. And then, you know, it could be pretty fast.

34:49

Sjors Provoost Yeah, and then it was sort of an investment to mine it, right? So you'd have to get a few blocks in in order to kick in this algorithm. So you'd mine those at a loss. But then, you know, it was a sort of free-for-all.

35:01

Aaron van Wirdum Yeah, so there was this thing where they kind of figured out... um i think there were a couple of problems with this but uh what happened in reality at least is that it became like they they started to milk the algorithm miners so they had this thing where indeed a couple of miners would act irrationally or we can maybe assume that miners were coordinating and sort of you know dividing the spoils in a way like

35:29

Sjors Provoost or they just realize that even if other people mine along it's still profitable

35:32

Aaron van Wirdum yes also yeah that's also possible so they would do nothing for 12 hours so every once in a while the Bcash chain— chain would in fact stall for 12 hours and then there were some irrational in quote marks miners that would mine a bunch of blocks dropping the difficulty down very much and then it was cheaper that was more profitable again than bitcoin and then all miners would jump on it And mine, 2016 blocks, very fast. driving the difficulty up again, making it less profitable again, and another 12 weeks, sorry, 12 hours of stalling. So that's what happened for a while. So I don't know, I think it lasted for weeks at least.

36:14

Sjors Provoost Probably, yeah. It was a yo-yo effect.

36:16

Aaron van Wirdum Yeah, it was this effect. Overall, blocks were mined much faster because of this. Like if you look at the total, so they were really, they were getting ahead of the Bitcoin chain by... Quite a bit because they were milking the algorithm so fast for a couple of weeks.

36:30

Sjors Provoost And they still are. If you look at the Bitcoin Cash chain, the block height, it's much higher than the Bitcoin Core.

36:37

Aaron van Wirdum Yes, well, we're getting there, Sjors. We're getting there. That's what this war is about. Cool. Okay, so they did this for a while. Okay, to quickly point this out, there were a couple of other solutions they could have chosen. One is what Namecoin did. They could have merged mine with Bitcoin, but that's obviously off the table for them, or at least I think that will almost be like surrendering for them, I think, right? You can merge mine with the enemy.

37:04

Sjors Provoost That's also a bunch of complexity.

37:06

Aaron van Wirdum I guess, but it's at least reliable, I think. I don't know.

37:10

Sjors Provoost I don't know either.

37:11

Aaron van Wirdum Not if you think Bitcoin is doomed. I've never studied it in depth, but I think it's probably reliable.

37:15

Sjors Provoost If your theory is that Bitcoin is doomed, you don't want to merge mine with it. Sure,

37:18

Aaron van Wirdum yeah. Also very true. If you're not trusting Bitcoin at all, then you don't want to rely on it.

37:22

Sjors Provoost So there's not so much surrender or suicide from your point of view.

37:25

Aaron van Wirdum If you look at it from that perspective, yes. Okay, then there's... changing the difficulty no changing the hashing algorithm itself you know which is why Charlie Lee he was very aware of these problems when he launched Litecoin that's why he specifically used scrypt like he knew he had to use a different hashing algorithm yeah so they could do that but I guess for Bitcoin cashiers, that would be sacrilegious. Then they would have to concede that they're not Bitcoin anymore. Plus, I guess Bitmain wouldn't be able to use their machines. Plus,

38:02

Sjors Provoost you enter a whole new cat and mouse game. I guess the best comparison I'd like to make is radio frequencies. So you want to have one radio station on a frequency, and if you're the minority radio station on the same frequency, you're just going to get blasted out of the ether.

38:18

Aaron van Wirdum Yeah, very good point. And there are only so much hashing algorithms, of course. So you could

38:24

Sjors Provoost come up with a new one, but the problem is if some other coin decides to also use your algorithm, that's a problem. Or you can have a big miner that decides to 51% or 99% attack you because they have the first ASIC. So it's not a fun place to be. I mean, that's the game that All these coins are playing with their unique algorithms and trying to stay ahead of ASICs or not. It's not a good place to be. So I can see why they would stick to SHA-256, but that's also a really bad idea.

38:54

Aaron van Wirdum Well, okay, so here's what they did. And this is the point where I sort of started losing interest in Bitcoin. Like the early weeks were interesting, but after that I didn't keep up as closely. But I think there was another... This was maybe one of their first civil wars, was about changing the... This was probably their first civil war, I think. This was about changing the difficulty algorithm into something that couldn't be milked.

39:20

Sjors Provoost Well, they changed it again. That's for sure. I don't think that was a civil war.

39:24

Aaron van Wirdum I think it was like a minor civil war. I think, for example, Bitcoin Classic, which was still a thing then. And they were doing, you know, they sort of switched to Bitcoin Cash and it was maintained by Tom Zander at that point.

39:37

Sjors Provoost Well, there was Bitcoin Classic. And that was the original, basically the original Bitcoin Cash.

39:43

Aaron van Wirdum Oh, yes.

39:43

Sjors Provoost That's the one that can still be milked. They were running that. Yes. But I thought that was a joke.

39:49

Aaron van Wirdum Yeah, it was a thing for a little while. Yeah, Bitcoin Classic. I don't know if it still exists.

39:54

Sjors Provoost Well, that's the original Bitcoin Cash. Yes,

39:55

Aaron van Wirdum that's the original Bitcoin Cash. You're right. That's the real Bitcoin Cash. But no, so Amaury, here's what I recall. But this is years ago, obviously. But I think Amaury came up with a solution for a better difficulty algorithm.

40:08

Sjors Provoost I think they had a whole discussion about different options and they voted or decided on which one. Yeah, back then. Yes.

40:14

Aaron van Wirdum But I think, for example, this was the reason for Tom Zander. and Bitcoin Classic to actually drop out. So that was, I think, the first implementation that dropped out. More dropped out later, right? I think. I

40:27

Sjors Provoost don't know which, you mean client implementations?

40:30

Aaron van Wirdum Yeah, Bitcoin Classic.

40:31

Sjors Provoost I didn't know that.

40:33

Aaron van Wirdum These were started by like the Toomims and... Oliver Janssens and I think at some point Jeff Garzik sort of got involved. So

40:43

Sjors Provoost that's separate from Bitcoin Unlimited then?

40:45

Aaron van Wirdum Yes, yeah, yeah. That was Bitcoin XT, Bitcoin Classic and Bitcoin Unlimited. These were the three main sort of fork implementations. So yeah, and Bitcoin Classic and Bitcoin Unlimited and then Bitcoin ABC sort of forms Bitcoin Cash, right? But Bitcoin Classic then drops out. Pretty soon. And I think that was because of the difficulty algorithm. The

41:05

Sjors Provoost second difficulty algorithm.

41:07

Aaron van Wirdum Yes, to fix this milking problem. Right. And that one was pushed through, I think, by Amaury, who was the lead developer of Bitcoin ABC. And it was sort of, he has this general attitude of it's my way or the highway. We're just going to do this. And then I think Tom Zander dropped out. Okay. I think. I think that's how the history of Bitcoin Cash sort of played out.

41:26

Sjors Provoost Well, you're the historian.

41:28

Aaron van Wirdum Yeah, Bitcoin Cash is a hobby project, Sjors. Okay, so what they did was faster difficulty adjustment. Okay. So not every 2016 blocks, but, I don't know, faster.

41:44

Sjors Provoost Because the emergency part was already fast, but they made the whole thing fast.

41:48

Aaron van Wirdum Like they take the average of the last 260 blocks instead of the last 260. 266 is the number I have in my head. I don't know if it's correct. Maybe it's the last 10, whatever. It's like a much smaller number of blocks and then they adjust the difficulty. And I think it also adjusts every block. It's a rolling thing. So every block they look at the last... x amount and then every block it's just i think that's what i

42:14

Sjors Provoost yeah and i think when it forked it wasn't immediately clear when it was an actual fork because the rules were somewhat compatible so you know in the beginning it might look like a soft fork and then suddenly it looks like a hard fork

42:27

Aaron van Wirdum i have not heard of that

42:29

Sjors Provoost that gets really messy so it's nice when you do a hard fork If there is like one block that is clearly valid for one side, clearly invalid for the other side. I don't think that was the case here. It was like after a couple of blocks, the difficulty adjustments were no longer compatible and then it split off. I'm not sure. Maybe they also did some replay stuff. I don't know about that. Maybe,

42:47

Aaron van Wirdum yeah. Okay. So anyways, this is what they implemented then. So they went with this new difficulty adjustment algorithm. Now, one thing to point out, maybe that's that. I haven't studied this one in depth, but it's interesting to point out that if your difficulty adjustment algorithm is too fast, if it adjusts too fast, that has problems as well, of course, right? I don't have to explain this to you, but I'll explain it to the listeners. Okay. So the problem is if you partition a part of the network as an attack, like somehow you're able to isolate some nodes. then if the difficulty adjusts only every 2016 minutes, it's pretty hard to fool these nodes if you don't also have massive hash power. If you have much less hash power and you partition some nodes, then it's actually easier to fool them because their nodes will adjust faster. And then after a while, we'll look to them as if blocks are being mined like normal, even though you only had whatever 5% of hash power. Right? Yeah. So this slow difficulty adjustment algorithm that Bitcoin has actually serves as another protective layer. So this is sort of a protective layer that was at least diminished or stripped down to some extent for Bitcoin Cash.

44:03

Sjors Provoost Well, the initial emergency adjustment already had a vulnerability in that sense, right? Because after 12 hours, you could lower the difficulty. So that means that if you isolate a node for more than 12 hours, you can start feeding it a cheap chain.

44:18

Aaron van Wirdum Right.

44:19

Sjors Provoost Right, so that could be...

44:21

Aaron van Wirdum Yeah, yes, yes. You mean the original Bitcoin Cash?

44:25

Sjors Provoost Yeah, the original Bitcoin Cash emergency difficulty adjustment. That had

44:30

Aaron van Wirdum all sorts of problems. There are probably more problems that we haven't even discussed here. Yeah,

44:34

Sjors Provoost I mean, once you have a coin that's such a small percentage of the majority, just the 51% attack risk is already a problem that's fundamental enough. But then if you add eclipse attacks so that you can isolate nodes and annoy them, and then this unstable difficulty adjustment.

44:52

Aaron van Wirdum Yeah. Okay, so anyways, Bitcoin Cash chose this faster difficulty adjustment thing that was proposed by Bitcoin ABC, created by Amaury. Again, this is where it gets fuzzy for me, but apparently there was some problem with it. To be clear, I think most of the time it worked fine. So most of the time blocks were found even more reliably every 10 minutes than on Bitcoin, which would make sense if there's faster adjustments. But I think at some point they discovered a problem with it. I don't know what the problem was, but there was a problem with it. Now we're getting to this latest stage of the war. A bunch of developers, Bitcoin Cash developers and Bitcoin Cash people, figured out a new way to do difficulty adjustments. And it's called ASERT. A -S-E-R-T. I don't know what it stands for, but they figured out a new way to do it. Okay. Bitcoin ABC, however, they recently announced something called Grasberg. So, everyone wants to fix the difficulty algorithm, I think. Maybe not everyone. There's probably a faction that doesn't even want to fix it. I don't know. But I think most Bitcoin cashers want to adjust it, fix it in some way. And now there's sort of two camps, which is ASERT and Grasberg. Okay. Now, here's what Grasberg does. I think this is the main controversial part about it. What Grasberg does is it's until for the next... seven years let me yeah for until april 2027 oh i'll first explain why it does this it's so it doesn't only look at the last whatever number of blocks when it calculates the next difficulty for the next block that's not the only thing it does it also looks at when the genesis block was mined okay and then makes an estimation of when The new block should be mined based on all of the 10 minutes since the Genesis block. Okay. Right? So if you just make a calendar until eternity, then you can sort of map out when each block should officially have been mined. Yeah. And so that weighs in the new difficulty algorithm.

47:20

Sjors Provoost So they want to not just compensate for their own little jump that they made after the fork?

47:25

Aaron van Wirdum That's what they want to compensate for.

47:26

Sjors Provoost But because Bitcoin itself also drifted. compared to the original exactly

47:31

Aaron van Wirdum yeah so i think they want to compensate even more than bitcoin itself would yes

47:34

Sjors Provoost right so there's some sort of satoshi's vision but it's not satoshi's vision it's

47:39

Aaron van Wirdum not in the white paper at least i could tell you that much um yeah so they want to correct Bitcoin's historic drift. That's how they call it. And that means, for example, that until the way it's implemented is that until for the next seven years, blocks will be found slower, 12.5% slower. Each block will be mined 12.5% slower. So that means that comes with all sorts of complications for the next seven years. You know, it means confirmations will be slower. Deposits to exchanges will be slower. Miners will earn less because they're earning a block reward every 10 minutes right now, and that will be slower. So miners are going to be earning less. There will be less hash power, security in that sense. Like all of the stuff that usually happens when blocks come in slower will just be the new normal for at least seven years. So ABC has sort of decided that this is what it's going to be. Other Bitcoin... cashers including i think even some people that were very friendly with bitcoin abc before like you know the i already mentioned Jonathan Toomim who originally started bitcoin classic back in the day anyways he's very critical of this he's sort of the The main guy advocating for ASERT. And the deadline is soon. The deadline for implementing this or not or activating it or not is in like 10 days from now. So within 10 days...

49:16

Sjors Provoost Because this is for the November fork, I guess.

49:19

Aaron van Wirdum What's that?

49:20

Sjors Provoost I think this is for their November fork.

49:22

Aaron van Wirdum Yes, but it would be locked in by August or something.

49:25

Sjors Provoost Yeah, they want to deploy it not crazy late. But okay, that's fascinating. But do they realize this is a block size decrease?

49:33

Aaron van Wirdum It's a block size decrease as well. Yeah, so I mean...

49:38

Sjors Provoost Reduces throughput.

49:40

Aaron van Wirdum As far as I sort of follow Bitcoin Cash, I think Amaury is kind of on the... You know, he's the new Bitcoin core. He's sort of on the new conservative side. Bitcoin ABC is the new... You know, they're the new Blockstream spies. They're being... They're sent by Bilderberg now. They're the ones sort of frustrating. what is it called? Digital cash for the world. That's what they're frustrating.

50:03

Sjors Provoost Right, because there was a split which was over the gigamegs. Yeah,

50:07

Aaron van Wirdum and then he was on the conservative side even then. Which was defined as 128, I think.

50:13

Sjors Provoost What's the size now? 128 max?

50:17

Aaron van Wirdum On the gigamegs?

50:18

Sjors Provoost No, on the ABC side.

50:22

Aaron van Wirdum 32?

50:23

Sjors Provoost Okay.

50:24

Aaron van Wirdum I think.

50:25

Sjors Provoost Could be 32, yeah. And I think Bitcoin SV jumped to 128 and then to gigameg.

50:30

Aaron van Wirdum Yeah, whatever. Yeah, something like that. Yeah, so I mean, I guess Amaury is already on the conservative side. So yeah, this is effectively a block size decrease, right? I don't know if they realize this.

50:42

Sjors Provoost It's a throughput decrease anyway. Yeah, it means you can fit less transactions. I think in practice, the effect is going to be quite small. If you have four kilobyte blocks, it'll still fit. But yeah, you get longer confirmation times, you get less capacity. But you could introduce lightning to get around that speed problem. And maybe you want to add SegWit while you're at it.

51:06

Aaron van Wirdum Yeah, so this is the extent of the discussion. I understand it. The way it looks now is that it's going to cause other splits, but there have been some... historic civil wars there where last minute there was some sort of compromise and then there were others where there wasn't and they split.

51:23

Sjors Provoost Right, because the previous almost war was about a built-in developer award.

51:28

Aaron van Wirdum Yeah, there was a civil war about that as well.

51:31

Sjors Provoost That was cancelled.

51:32

Aaron van Wirdum Was it canceled completely? I guess you follow it even closer than I do then.

51:39

Sjors Provoost I think it was canceled.

51:40

Aaron van Wirdum I guess it was canceled.

51:42

Sjors Provoost Because I was kind of looking forward to seeing the splits that would come out of that one because it was quite complicated with multiple developers that could be individually activated as soft forks. But I think if you upgraded your node right before the split, you might not be aware of all the different developers that were activated and it was kind of a mess. So hopefully they didn't deploy that.

52:04

Aaron van Wirdum Anyways, I think this part is clear to you, right? I've explained the civil war to you.

52:11

Sjors Provoost What was the reason they want to fix the timestamp?

52:16

Aaron van Wirdum Correct historic drift. They think it's a problem, apparently. I'm not aware of all the arguments in favor of it, or it seems like a small issue to fight a war over, but...

52:29

Sjors Provoost It's not something that would keep me awake.

52:32

Aaron van Wirdum Me neither, but I think that's the idea. That's the argument as far as I've read it. They want to, you know, they want to fix historic drift.

52:42

Sjors Provoost I guess maybe if we try to steel man it, I guess the argument is there was some sort of problem that you said. There was some sort of problem that had to be fixed anyway. And then there's just two visions of how you can fix it.

52:52

Aaron van Wirdum Yeah, exactly. I think most people agree there is a problem that would need to be fixed. But I'm not sure what that problem is.

52:59

Sjors Provoost And I guess if you set the pace in stone with reference to the Genesis block, the nice thing is that you can make sure that no fancy tricks with time happens.

53:13

Aaron van Wirdum I mean, there are some benefits. If you time lock coins, then you have a much... more exact idea of when the coins are going to be released?

53:21

Sjors Provoost Well, no, because that's what nLockTime with just time is.

53:23

Aaron van Wirdum I know, I know, sure. So I'm just trying to steelman in here. And the counter argument is that actually if you did already time lock coins, then now with this historic drift correction, it's going to be unlocked much later than you expected. So that's sort of the flip side.

53:39

Sjors Provoost I'm happy to hear they're having fun. I suggest we end this episode.

53:45

Aaron van Wirdum Yeah, it's been enough.

53:46

Sjors Provoost Thank you for listening to the Van Wirdum Sjorsnado podcast.

53:50

Aaron van Wirdum There you go.