Episode 7: What is an XPub?
Ep. 07

Episode 7: What is an XPub?

•

Episode description

In this episode of the Van Wirdum Sjorsnado, Sjors and Aaron explain what an xpub is and how it is used by Bitcoin wallets.

Helpful Links:

http://rosenbaum.se/book/grokking-bitcoin-4.html#_hierarchical_deterministic_wallets
https://walletsrecovery.org

Chapters

00:00:00 The xpub controversy
00:03:08 Random wallet keys and the backup problem
00:04:51 BIP32 and deterministic master keys
00:06:52 Child keys, accounts and derivation paths
00:08:58 What an xpub reveals to a wallet server
00:11:10 Gap limits and missing wallet history
00:16:04 The lasting privacy cost of sharing xpubs
00:17:19 Seed words and BIP39 usability
00:20:55 Changing standards while preserving old backups
00:22:12 Wallet recovery needs derivation information too

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:07

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

0:10

Sjors Provoost Hello.

0:11

Aaron van Wirdum Welcome Sjors.

0:12

Sjors Provoost Thank you. Good to be back.

0:14

Aaron van Wirdum You're back. You're not in quarantine anymore.

0:16

Sjors Provoost I escaped.

0:17

Aaron van Wirdum You escaped. Good. So yeah, welcome back. We're going to discuss xpubs today.

0:24

Sjors Provoost xpubs, yes. Did you hear the drama?

0:27

Aaron van Wirdum Apparently that's a hot topic.

0:28

Sjors Provoost Exactly. I hear the drama. I have no idea what the drama is about. I'll do my best to reconstruct what I think the drama is about.

0:34

Aaron van Wirdum I'm not sure what the drama is about either, but I think I have a faint idea. We'll get to that later.

0:41

Sjors Provoost No, we can get to it now. I think my theory is that for some reason, people were talking about xpubs and then Peter McCormack got really upset and said, I don't know what xpubs are, but I'm proud of it. And then, of course, all the Bitcoiners said, oh my God, Peter McCormack does not know what an xpub is. And they all started, you know, explaining it to him. And yeah, so that's why we're talking about it.

1:02

Aaron van Wirdum It's like the classic cycle. Where Peter McCormack says something slightly controversial about how everyone's being too nerdy about Bitcoin and everyone gets mad at him because he's not a real Bitcoiner. So then he gets this controversy for his show and then all the Bitcoiners get their virtue signaling for being a hardcore Bitcoiner and everyone's happy.

1:23

Sjors Provoost Well, and if you want a virtue signal properly, you should listen to this podcast.

1:26

Aaron van Wirdum But I think that's not where it started, I think.

1:30

Sjors Provoost Okay.

1:30

Aaron van Wirdum But again, I only have a sort of faint idea of where the drama came from, but I think it started with Samourai Wallet posting this article about how Wasabi Wallet had some sort of weakness, which was, I think, very overblown. As far as I was able to tell, it seemed like a very overblown concern. They were making a lot of noise about it, which seemed that the problem was actually... Pretty small as far as I could tell. While... Samourai themselves, they have this xpub thing where if you're not using a full node, then you're sending your xpub to Samourai. So that's actually very bad for privacy, which we'll get into. Plus, if you're mixing with other users on Samourai who have their xpub, then that is detrimental to the anonymity set. I think that, so it's kind of these things where, you know, if you live in a glass house, don't throw stones.

2:25

Sjors Provoost Yes, I believe that's a Samourai developer once said that.

2:29

Aaron van Wirdum Oh, he said that?

2:30

Sjors Provoost Like years ago in a different drama.

2:32

Aaron van Wirdum Okay, well, I think that's sort of what's going on here, where Samourai said something about Wasabi, and then people started to criticize Samourai themselves for some of the weaknesses they have. And I guess that's maybe where Peter McCormack came out and said, I don't know what an xpub is.

2:51

Sjors Provoost Well, I don't know if he actually said that. I'm making that part up.

2:54

Aaron van Wirdum I'm not sure about the first part either. So we're just spitballing here. But this is like how a classical Bitcoin drama story would unfold, isn't it?

3:04

Sjors Provoost Exactly. This is a very stereotypical. So this may well have been how it happened.

3:08

Aaron van Wirdum All right. So maybe we should then explain what an xpub is. So let's get to the xpub.

3:13

Sjors Provoost So a long, long time ago, my dear grandchildren, when you were all, you know. Anyway, you had this wallet before it was called Bitcoin Core, but the original Bitcoin wallet. And what it would do is it would give you private keys. And because people already quickly realized that address use is a bad idea, it creates a new private key every time you receive coins or every time you send change back to yourself. And in order to make that new address, you need to make a new private key. And those private keys are perfectly random, or they should be perfectly random. The problem then is, how do you back up your coins? And the idea was that the first time you start Bitcoin, you get about 100, maybe it was a different number, keys. And you print those out or save them on some, you know, Arctic Vault, whatever. And you move on with your life. But then, once your 100 keys are all used up... The wallet will just create 100 more keys. And if you forget to back those up, and it's not like the wallet will warn you.

4:12

Aaron van Wirdum Right.

4:13

Sjors Provoost You are toast.

4:14

Aaron van Wirdum You don't have a backup for your keys.

4:16

Sjors Provoost Correct. Your change will go to the key number 101. And if you then have a boating accident or something, you're out of luck.

4:25

Aaron van Wirdum Yeah, your computer crashes and then you don't have a backup. Yeah, so quite... By the way, this isn't even that long ago, I think, right? Because you started explaining this like it's prehistory. But isn't it just a couple of Bitcoin Core versions ago that seeds were introduced?

4:40

Sjors Provoost Well, I don't think Bitcoin Core was the first thing to introduce seeds. It was probably quite late to the party.

4:46

Aaron van Wirdum Sure, no, I'm sure it's not. But Bitcoin Core was pretty recent. That was not very long ago.

4:51

Sjors Provoost I think it was 2016 or something. Since it started using deterministically derived keys, it's been only a few years. But I think there was a standard proposed to do this in 2013. So the standard has been around a bit longer. It's called BIP32. And the idea there is that you create a single master key. From which you derive all the other keys deterministically. So that if you know the master key, you know all the individual keys. And to the outside world, all these addresses will look random.

5:25

Aaron van Wirdum You can generate all of the individual keys.

5:27

Sjors Provoost Correct. And to the outside world, you just see random looking addresses. But to you, they're all connected.

5:34

Aaron van Wirdum So let's get into that in a little bit more detail. So first of all, the master key, that's a random number.

5:40

Sjors Provoost Yes.

5:41

Aaron van Wirdum That's really all of this in the end, right?

5:43

Sjors Provoost Yes.

5:44

Aaron van Wirdum Because that's all a private key ever is. It's a random number. And from that random number, you can generate a seemingly random number, which is the public key, which is actually mathematically linked. But the math only works one way. It's a one-way function.

5:59

Sjors Provoost Yeah, so the idea is you start with a random number and then you hash the random number. And you assume that the hash produces another random number.

6:07

Aaron van Wirdum Or at least it should look random.

6:10

Sjors Provoost Yeah, you should not be able to predict the original number from it. And you should not get collisions. So there should be... If you start with a 256-bit number, that means there are 2 to the power of 256. possible numbers you hope that if you run those through a hash function the result will also be two to the power of 256 different numbers and not for example with some of the earlier SHA functions or MD5 or whatever where you might have two different numbers that would produce the same end result and that kind of stuff. Assuming that's all correct, you basically start with a single random number, and then you generate a whole bunch of private keys for your wallet, which

6:52

Aaron van Wirdum is great. Okay, so let's see. We start with this random number, the master key. What do you derive from the master key at first?

7:00

Sjors Provoost Oh, you basically can put these numbers in a tree. So without bothering people with the exact math if only because i don't know the exact math you create a child key at one level or multiple child keys at a level so you can have a tree with branches where you might want to divide your coins into accounts or or other things

7:21

Aaron van Wirdum yeah and just to be clear for peter if he's listening we're not talking about actual trees we're talking about We're generating numbers from other numbers.

7:29

Sjors Provoost Correct.

7:30

Aaron van Wirdum And that's what we call the branches. The numbers we've just generated from a different number. That's what we call a branch, right?

7:36

Sjors Provoost Yeah.

7:36

Aaron van Wirdum And from this branch, if you want, you can generate yet another number. And that's always.

7:40

Sjors Provoost Yeah. And there's somewhat of a standard way to do that. So, for example, most Bitcoin wallets, when you create an address that's not SegWit. You would start with the master key, then you do derivation number 44 hardened, and we'll get into what hardened means. Then you do derivation number zero hardened, which says this is Bitcoin. And then you do derivation number zero hardened, which is your first account, because we count from zero, of course. And then you do another derivation zero that says this is a receive address. And then you do derivation zero or one or two or three or four or five or six or seven, depending on which address you're about to use. So that's kind of what it looks like. And wallets will do this automatically. And if every wallet does it the same way, then you can actually import into a different wallet. Now, let's say you are not using your own node. And you want to look up your balance. Now you have a problem because to the server, you have to ask it, hey, this is my address. What's my balance? And you could give it a list of a thousand addresses that could get quite slow. And so what you instead would do is send this thing called the xpub.

8:57

Aaron van Wirdum The xpub.

8:58

Sjors Provoost Yes. And so the xpub is a master public key, not a master private key, at a certain part of the tree. It'll give you all the addresses below that part of the tree. This tree is hanging upside down, to be clear. That's what trees do in technical literature.

9:17

Aaron van Wirdum So, for example... We'll add an article with a couple pictures in the show notes. Because pictures really do help when trying to understand this.

9:27

Sjors Provoost Yeah. But basically, if you say you have an account, some sort of separation of funds, then you would give the server the xpub for that account. So the server can then see all the addresses for that account, but not addresses for your different account. Or even for your different shitcoins that you may have on the same tree somewhere else in a tree.

9:47

Aaron van Wirdum Yeah. So I'm a wallet. I'm a wallet right now.

9:51

Sjors Provoost Okay.

9:51

Aaron van Wirdum And you're a server.

9:53

Sjors Provoost Yeah.

9:54

Aaron van Wirdum I don't have the full blockchain.

9:55

Sjors Provoost Yeah.

9:56

Aaron van Wirdum And I want to know how many funds I have, how many bitcoins I have. I could send you a bunch of addresses that I know I have because I have my, you know, I can generate them and I know I have my seeds so I can generate all my addresses. And, you know, for example. We'll get to this in a bit, but I'll send you my first 20 addresses.

10:14

Sjors Provoost Yeah.

10:14

Aaron van Wirdum And then I ask you, Sjors, how many Bitcoins do I actually have? Can you please check the blockchain for me?

10:19

Sjors Provoost Yeah. I could do that.

10:21

Aaron van Wirdum Or I could send you my xpub and that way you can generate my 20 addresses plus way more. You can generate as many as you want. Yeah. And then you tell me how many have. So that's sort of two different ways of doing it. So some wallets share their xpubs.

10:39

Sjors Provoost Exactly. And if you want to go a little bit more into detail there, the xpub is, what you do is you derive change addresses, sorry, receive addresses from it and change addresses because your wallet might have change and stuff.

10:51

Aaron van Wirdum Sure.

10:52

Sjors Provoost And then, and so the change, the receive chain is child number zero of the xpub and the change chain is child number one of the xpub.

11:02

Aaron van Wirdum Sure.

11:02

Sjors Provoost And then every address is child number zero, one, et cetera, of that. And so typically, Yeah, the server would generate all these addresses. But of course, the problem here is, okay, let's say I'm sending the server one xpub every 0.1 seconds, and the server has to derive all these addresses. That gets pretty painful. So maybe you don't want the server to derive a million addresses. So then the question is, what's the reasonable limit? And a wise man or woman in 2013 said, let's make that 20. So

11:33

Aaron van Wirdum to be clear, we're now getting sort of into the problems with xpubs?

11:36

Sjors Provoost Yes.

11:37

Aaron van Wirdum Yes, okay. So dear listener, we're now getting into the problems. Why xpubs are bad. Now getting into the problems. So sure, so just saying yes. So you want to, I'm asking you how many, how many funds do I have? So I send you my xpub, I'm the wallet still.

11:51

Sjors Provoost Yeah.

11:52

Aaron van Wirdum And then you're generating, how many are you generating?

11:54

Sjors Provoost I'm going to look at the first 20 addresses of that xpub. And then the rule is, if I don't find anything, I'm going to stop looking.

12:01

Aaron van Wirdum Yeah. You're just going to assume you don't have any funds. Yeah. Or you're going to assume, I should say, I don't have any funds.

12:06

Sjors Provoost Exactly. But if I do find something, I'll keep looking basically until there's a gap of 20. That's called the gap limit.

12:13

Aaron van Wirdum Right. And I'm assuming that when you say you don't find anything, it doesn't just mean if there's any funds in the address now. It just means if there's funds now or ever.

12:23

Sjors Provoost Exactly. Because the way most block explorers do this is they have an index of every known Bitcoin address. Sorry, Luke Dashjr. And the... transactions that ever went to that address. So I just generate all these addresses and I see if they're in my database. And if they're in my database, then I just keep looking and looking and looking until I don't find anything in my database anymore.

12:46

Aaron van Wirdum Yeah. So as a standard, this is some sort of protocol standard. This is just a way, you know, someone came up with this and this became sort of a, what do you call it?

12:55

Sjors Provoost Well, it's a wallet standard.

12:56

Aaron van Wirdum A wallet standard, right.

12:58

Sjors Provoost But it's not a consensus rule.

12:59

Aaron van Wirdum Yeah. Sorry, that's what I meant. It's not like a consensus rule, but it's become like a wallet standard. So you're looking for the first gap of 20 addresses that have been completely unused. And from then on, you're going to assume, okay, that's how far you got with this address is.

13:14

Sjors Provoost Yeah, because what you were assuming here, the way people use it is they create an address, they send it to a friend, they receive some coins, and then they do it again. But maybe sometimes their friend doesn't pay. Right. Right. That scenario, it makes sense to have this 20 limit. Yeah. Problem is, now you're running a web shop. uh say a BTCPay server and this server generates an invoice every time the user goes to the checkout but a lot of people just abandon the checkout and so

13:41

Aaron van Wirdum yeah they get to the checkout they figure out wait this is actually too expensive or wait i don't actually have enough bitcoin in my wallet or yeah and another or maybe they're just you know fucking with the webshop that's also possible

13:53

Sjors Provoost yes or spying on the webshop

13:56

Aaron van Wirdum yeah

13:56

Sjors Provoost or spying on the webshop They might want to know all the addresses. And in the case of BTCPay Server, there was a specific thing where it also supports Lightning, but it's going to make an on-chain address even if you use Lightning. which means that for every Lightning payment, there's also an address being generated, which is not used. And so that gap of 20 is reached pretty quickly.

14:16

Aaron van Wirdum Right. So then 20 people in a row use Lightning, or for some other reason, don't make a payment. BTCPay server, that's what we're talking about here, right? Yeah. So they ask some server, how many Bitcoins are in my addresses? The server checks these 20 addresses in a row that haven't been used. And then they assume, okay, well, that's how far the wallet has been used. So every payment that came after it just doesn't show up on BTCPay Server or whoever uses it.

14:41

Sjors Provoost Well, BTCPay Server will be fine. But if you, let's say you're using BTCPay Server with a hardware wallet and you then want to see with your normal hardware wallet software. what is actually on the wallet, your normal hardware wallet software might not show it, depending on if they actually honor the gap. Right, right, right. Which they might not, because a lot of wallets will actually scan a bit more than that.

15:02

Aaron van Wirdum I mean, this isn't an easy problem to solve. This isn't even really a problem with xpubs. This is a problem with the wallet standard that someone came up with at some point.

15:09

Sjors Provoost Oh, yeah, it's nothing to do with xpubs specifically, but it is a problem with deterministic key derivation that you have this trade-off between a DoS vector and good privacy. Because you could just use the same address all the time. That's bad for privacy. Or you could generate a new address all the time. But now somebody needs to track that. And that can get out of hand if somebody is attacking you.

15:30

Aaron van Wirdum Still, this seems like a minor problem to me.

15:32

Sjors Provoost I can assure you from having worked on wallets that it's a major headache. But in the scheme of things for Bitcoin, I'm sure it's a minor problem. If you're the one needing to deal with the problem, it's not a minor problem. Exactly. Because also the other thing is maybe a hardware wallet. That's really smart, like a hardware wallet that can actually parse transactions over a blockchain. It needs to go through that, and it might be very slow with derivations. So there's some limits there. At least because I think I once casually proposed to people to increase the gap limit. Some people who worked on hardware wallets don't even think about it.

16:04

Aaron van Wirdum Right. The next problem seems, or I already mentioned it, but that seems like a much bigger problem to me, that you've given up your entire privacy. Yeah. If you're using a vault with an xpub.

16:14

Sjors Provoost If you're doing it that way, I mean, obviously you should run a full node and do everything yourself. But if you're using a remote server to check your balance, then yeah, it's not good for your privacy if you just give them the xpub. Because they can see all your transactions. And worse than that...

16:28

Aaron van Wirdum All your transactions ever.

16:29

Sjors Provoost Yeah, and in the future.

16:30

Aaron van Wirdum Yes.

16:31

Sjors Provoost So if your tax authorities ask you for your xpub, you are screwed. Because now the tax authorities can just watch you forever in real time. Unless you, of course, change the wallet. So that's not good. I think some hardware wallets and some software wallets still do this. Others might have gotten a little bit better by actually sending individual addresses. But this is tedious too, because let's say you're a wallet and you only send the last 10 addresses to the server. Well, what if somebody sent you money to the first address? And now you occasionally still have to check the first address or the user logs in and says, oh my God, the money never arrived. And then there has to be some refresh button or something that sends all the previous addresses. So make that UX work is tedious. It's no problem if you run your own node. But the whole point for these xpubs is kind of to make it easy to communicate with the server.

17:19

Aaron van Wirdum Yeah. All right. So we have the gap limit problem, privacy problem. Are there any other problems?

17:24

Sjors Provoost Well, yes. I think we'll get to that. But maybe we can talk about this original seed again, this master key. Because there is this really nice...

17:33

Aaron van Wirdum This is not really a problem with xpub.

17:36

Sjors Provoost No.

17:36

Aaron van Wirdum You just want to talk about the seed.

17:37

Sjors Provoost Yeah.

17:38

Aaron van Wirdum Okay, let's talk about the seed.

17:40

Sjors Provoost I mean, we don't have to talk about xpub all the time.

17:42

Aaron van Wirdum That's what the episode is about, though, Sjors.

17:44

Sjors Provoost Well, we'll get to that.

17:45

Aaron van Wirdum Okay, go on.

17:47

Sjors Provoost So, basically, you start with the master key, and the master key could be written down as a hexadecimal number. But it's kind of difficult to remember and difficult to write down. I think most people don't like writing hex. And so there's a standard called BIP39, which changes it into a word. A nice doge or doggy version of that, of such a phrase, could be a much surprise, very convinced, guard, change, write, radio, network, leader, et cetera, et cetera.

18:15

Aaron van Wirdum To be clear, this is an actual, this is something you could actually use. There's a doggy version of seeds.

18:21

Sjors Provoost Yes, I suggest not using it. It suggests not using it, but it is possible.

18:25

Aaron van Wirdum It's possible, yeah.

18:26

Sjors Provoost Yeah, because there's a set of 4,000 words, roughly. And if you take 12 or 24 of those, you get 128 to 256 bits of randomness.

18:37

Aaron van Wirdum Yeah, so to be clear, we started out saying that the master key is just a random number, basically. And what you're explaining here is that you can convert this random number into a series of words.

18:49

Sjors Provoost Yeah, exactly. You can't. You start with a series of words and you convert it into that random number. It's kind of the other way around.

18:54

Aaron van Wirdum Yeah, you're right.

18:56

Sjors Provoost But that's fine. So that's what people tend to write down. Those 12 to 24 words are the start of the master seed, which then eventually leads to this xpub once you get to a specific... sub part of the tree. That's all good and fun. There are some problems with the choice of words. It's one of those standards that was developed before people were using it. And generally when you do that, people then actually start implementing it into wallets and thinking about it a little bit more. And they're like, actually, this kind of sucks. So for example, some of the words are too similar. Other words have too many of the same starting letters. So if you're typing on a tiny little hardware wallet, trying to type in the words, usually just ask you for the first couple of letters. But the word list was not chosen smart for that. So you often need quite a few letters, even though that could have been done better.

19:42

Aaron van Wirdum Could be optimized.

19:43

Sjors Provoost There's some other problems, but make it hard to translate.

19:46

Aaron van Wirdum I think there are some very specific Bitcoin words in there, which some people have objected to because it sort of gives away that it's a Bitcoin wallet.

19:54

Sjors Provoost I can assure you, if you type 12 or 24 words in any online place that hits any server, there will be some malware on that server that will... That will interpret it as a Bitcoin seed and will take all your coins within seconds.

20:08

Aaron van Wirdum Sure.

20:08

Sjors Provoost If not now, then by the time you need your seed, it will be the case.

20:11

Aaron van Wirdum Yeah. Well, still, you know, there's a burglar in your home and then there's 12 words. And then if one of the words is Satoshi, then... That might increase the chances that it's going to get into a wallet somewhere.

20:23

Sjors Provoost There are some police manuals floating online that basically say, hey, look for 12 to 24 words in somebody's flower pot. If you have that, give it to this guy and he'll take all the Bitcoin.

20:32

Aaron van Wirdum Right.

20:33

Sjors Provoost Yeah, that's well known. I don't think you can fix that unless you also randomize the number of words into something other obscure. But then, of course, the trade -off is if you die, then nobody knows what the hell to do. So that's tricky.

20:46

Aaron van Wirdum Anyway, so yeah, you think the standards, the standards could have been optimized. Yeah, I will say.

20:52

Sjors Provoost But it's not a big enough problem that people want to revamp everything for it.

20:55

Aaron van Wirdum Plus, I think it would be a bad idea to revamp everything for us. Like, as long as it works well enough, I would say let's keep it because it's good if people can keep using their seeds into the future. Oh, well. If Wallets update their software all the time to use different seeds, then. people are going to lose their money because they can't remember which software they used.

21:15

Sjors Provoost I mean, the way you would upgrade this is by making it so that software can tell whether it's an old style or a new style.

21:21

Aaron van Wirdum Make it backwards compatible.

21:22

Sjors Provoost Well, not backwards compatible, but the opposite. So basically, there would always be a word in the new seed that is not valid in the old seed. So old software just won't even recognize it.

21:32

Aaron van Wirdum No, but I won't. Wait, old software wouldn't recognize it?

21:36

Sjors Provoost So if you were to come up with a new standard, you would... Put a word in that standard that is not part of the old standard.

21:44

Aaron van Wirdum Yeah, but I'm thinking about the opposite thing. Like in 10 years from now, someone's going to get their seed from cold storage. They download a wallet. They want to be able to insert that seed, even though the wallet now uses a new type of seed.

21:56

Sjors Provoost Yeah, so you would have to have all the modern wallet software would have to support the old standard, at least as an import.

22:01

Aaron van Wirdum Yes.

22:02

Sjors Provoost And I guess if you don't have a new standard, that's more likely to be the case.

22:05

Aaron van Wirdum So they need to be backwards compatible.

22:07

Sjors Provoost Yes. The software needs to be backwards compatible, but the standard doesn't.

22:11

Aaron van Wirdum Yes, okay. Yeah, good point.

22:12

Sjors Provoost So another thing sort of related to this about standardization is that these 12 to 24 words, I think, is mostly the same for every wallet, the way that works. But there are derivations. So how do you go from the root of the tree, the master key, to each of the addresses in your wallet? And unfortunately, several wallets do that in different ways. Right. In a headache-causing way. So if you find those 12 words... and you think you've got somebody's Bitcoin. Well, maybe you do, maybe you don't, but they could be anywhere in that tree. So there's a site called WalletRecovery.org, WalletsRecovery.org, sorry, to send you to a phishing site if you type that wrong.

22:51

Aaron van Wirdum WalletRecovery.org, yes.

22:53

Sjors Provoost And that has a list of old and new wallets and how they actually go from the secret or the mnemonic to each individual address. And it just tells you that it's a bit of a headache.

23:07

Aaron van Wirdum Which is an incredibly long list. Yeah. But a lot of them do sort of use the same thing now that I'm actually looking at lists a little bit closer. It's not like they're all doing something different.

23:16

Sjors Provoost Yeah, I mean, there's basically for the old style addresses, you know, usually starts with zero. It's 44 slash zero slash star for the accounts. And for SegWit wrapped, it's 49. And for native SegWit, it's 84. Once you get the multisig, your headache might increase. Like how to derive a multisig wallet with two different seeds and the different wallets on what sequence and stuff. Yeah, that's painful. So basically, when you backup a wallet, you better also backup. how the derivations work. So you may want to not just write down your mnemonic, but maybe some hints about what wallet software you were using. Yeah. Depending on who's the audience for that information, of course.

23:58

Aaron van Wirdum Okay. Is that xpub?

23:59

Sjors Provoost I think so. I think we've uncovered the mystery. We've addressed the drama. We have de-escalated the conflict.

24:08

Aaron van Wirdum That's what we're here for.

24:09

Sjors Provoost I think we're good. All right. Anything else you need to cover?

24:13

Aaron van Wirdum No, I don't think so. How long have we been recording now?

24:16

Sjors Provoost 25 minutes.

24:17

Aaron van Wirdum Long enough.

24:18

Sjors Provoost Long enough. All right. Thank you for listening to the Van Wirdum Sjorsnado. There you go.