[00:00.000 --> 00:04.220] Ladies and gentlemen, boys and girls, if you're hanging out in the hallway, [00:04.220 --> 00:08.000] you're going to want to make your way in. We've got Dr. Sarang Noether, [00:08.000 --> 00:12.140] who's going to be talking with us about ring signatures from the looks of the title. [00:12.620 --> 00:17.060] It's this guy right here. He's a pimp. Look at his gold little thing, right? You got going on [00:17.060 --> 00:21.580] there. He's got some sort of vibe. You guys aren't on top of the stage here with me. You can't feel [00:21.580 --> 00:26.800] this vibe. It's really, really polarizing. I want to leave the stage so that way he can [00:27.640 --> 00:31.660] give all of his knowledge to us. So please, if you're out in the hall, [00:31.660 --> 00:35.600] go ahead and come on in. For those of you that are still talking, I would very kindly request [00:35.600 --> 00:41.280] you to either lower the volume a little bit and or take the conversations outside to be [00:41.280 --> 00:45.680] respectful to the people that are going to be listening to this talk. Sarang, [00:45.680 --> 00:49.640] you've got a full house, man. So knock it out of the park, man. [00:51.020 --> 00:58.990] Hello, everyone. Thank you for coming to the last talk. [00:58.990 --> 01:02.970] You're respecting my time by being here. I'm going to respect your time by trying to go a [01:02.970 --> 01:09.870] little bit early. This conference is fantastic but also exhausting. So I am a mathematician [01:09.870 --> 01:16.170] and researcher and I'm particularly interested in kind of the formalization and efficiency of [01:16.170 --> 01:21.450] our transaction protocols and those of other projects as well. So today I will be talking [01:22.070 --> 01:27.290] about transaction protocols. The title was merely a ruse to excite people to get them into the talk [01:27.290 --> 01:31.090] because it sounds exciting. But I'm actually going to talk about transaction protocols. [01:31.090 --> 01:34.370] But fortunately it will not be very technical. And the goal of this talk really is to kind of [01:34.370 --> 01:41.610] give people a sense of what goes into blockchain-based transactions. How does efficiency [01:41.610 --> 01:46.470] work on them and how can we improve it over time since that's always a goal. So kind of a brief [01:46.470 --> 01:50.990] outline of some options that are available that Monero and other projects, too, might consider [01:50.990 --> 01:58.710] going to and why they might or might not at this time. So briefly, people often say that Monero [01:58.710 --> 02:04.050] as a digital asset is crypto-node based. Crypto-node being kind of the original transaction [02:04.050 --> 02:09.030] protocol that kind of inspired Monero and a whole bunch of other assets. And it's based on that but [02:09.030 --> 02:13.470] it's not strictly true that Monero is a crypto-node asset anymore. So I just like to say that it uses [02:13.470 --> 02:18.610] the Monero protocol. So the transaction protocol basically dictates the structure of transactions. [02:18.610 --> 02:23.190] So what goes into them, what goes out of them, what math is used to verify that everything [02:23.190 --> 02:29.090] is completely kosher with a transaction in terms of balance and ownership of assets and things like [02:29.090 --> 02:34.830] that. So we've definitely moved past as a project the crypto-node protocol, but most of the basic [02:34.830 --> 02:40.310] structure is still there. So some big ideas behind it. I actually don't like some of the terminology [02:40.310 --> 02:46.910] that is used a lot. The word output gets thrown out a lot, especially in Bitcoin-based digital [02:46.910 --> 02:51.930] assets. I don't really like that term. I think it doesn't tell you a lot because outputs become [02:51.930 --> 02:56.130] inputs become outputs. So I'm going to use the phrase notes, which is something that I really [02:56.130 --> 03:00.810] like. Almost kind of like a bank note, you can think about it. But basically funds exist in [03:00.810 --> 03:06.410] like these notes or outputs that exist on the chain. And notes in Monero at least, using the [03:06.410 --> 03:11.290] Monero protocol, are not just recipient addresses. They're actually derived from recipient addresses [03:11.290 --> 03:17.570] in a one-time use kind of situation. The amounts of transactions are not visible in the Monero [03:17.570 --> 03:22.050] protocol, but they're in fact hidden in something called a Peterson commitment, which is kind of a [03:22.050 --> 03:27.510] can kind of think about it as kind of an algebraic one-way hash where algebra works nicely enough [03:27.510 --> 03:31.410] that we can show the transactions balance, which is important. I need to make sure that funds going [03:31.490 --> 03:35.830] in a transaction are the same as funds going out. And in particular, the spends themselves are done [03:35.830 --> 03:39.790] in the Monero protocol, unlike, for example, Bitcoin and its derivatives, [03:39.790 --> 03:46.370] using a specified anonymity set of previous other arbitrary notes. So the Monero protocol does not [03:46.370 --> 03:53.610] mix funds. In the Monero protocol, a particular note would be spent in a transaction, but it is [03:53.610 --> 03:58.830] basically obscured among other notes that exist on the chain that are chosen non-interactively. [03:58.830 --> 04:03.690] It's a little bit different. So a transaction basically spends a set of one or more input notes, [04:03.690 --> 04:08.130] each of which has its own anonymity set, and it generates a new set of output notes. So [04:08.130 --> 04:13.530] transactions consume notes and generate new ones. That's the idea. The idea of like an account in [04:13.530 --> 04:18.410] Bitcoin or Monero, it doesn't really exist in the protocol level. It's just kind of a nice [04:18.410 --> 04:23.010] bookkeeping abstraction that we use to tell you like what your funds are. So what do we mean by [04:23.010 --> 04:27.330] transaction efficiency? We care a lot about that. Well, we actually care about it in terms of kind [04:27.330 --> 04:33.370] of not just space or time, but kind of space-time in a physics sense. So space means, of course, [04:33.370 --> 04:37.810] transactions take up space on the chain, and provided that everyone using the protocol is [04:37.810 --> 04:42.250] going to be doing something with the chain to verify it, that space basically ends up kind of [04:42.250 --> 04:47.410] coming along for all time. Transactions also have a generation time and a verification time, [04:47.410 --> 04:51.830] and it's important to keep those two separate. So transaction generation time is, I want to spend [04:51.830 --> 04:56.490] some funds on the chain, so how long does it take for whatever the protocol says needs to be done [04:56.490 --> 05:02.210] mathematically to be done? And in general, that time is typically allowed to be long by cryptographic [05:02.210 --> 05:07.250] standards, so we don't want it to be too long. I mean, initially Zcash, for example, ran into a [05:07.250 --> 05:12.950] problem where transaction generation took a long time to do, on the order of maybe 10 or 20 seconds. [05:12.950 --> 05:16.770] My personal perspective, if your transaction generation time is on the order of like a second [05:16.770 --> 05:21.230] even, that's pretty good. The average user is not going to notice that that feels like a long time. [05:21.230 --> 05:25.700] But verification time is something that we do care a lot about, because if you're basically [05:26.110 --> 05:30.330] validating the entire chain of transactions, you need to operate on each individual one. [05:30.330 --> 05:35.110] Even if a particular transaction takes 100 milliseconds to verify. If you have to do that 10 [05:35.110 --> 05:39.930] million times, well, that's a long time. However, in some transaction protocols, we can do something [05:39.930 --> 05:44.410] called batching, which is kind of cool. Monero currently doesn't do this with its full transaction [05:44.410 --> 05:50.510] protocol, but the idea is that in some protocols, you can take a bunch of transactions and operate [05:50.510 --> 05:55.890] and verify them all at once in a way that's much faster than doing them independently and linearly. [05:57.170 --> 06:00.730] The trouble, of course, as I said, is that transactions take up space time, and in particular, [06:00.730 --> 06:06.310] every input note to a transaction has a particular anonymity set. And it also has to have an [06:06.310 --> 06:11.710] authorizing signature showing that it is intended to be spent in a transaction. Outputs, output notes [06:11.710 --> 06:15.470] that are generated, they have a host of other data, kind of auxiliary data that are associated [06:15.470 --> 06:20.150] with them that are needed for proper verification. And of course, signatures and all the proofs and [06:20.150 --> 06:23.790] everything that we're packing into this big transaction structure have to be verified by [06:23.790 --> 06:28.370] the network so time comes into play. So ideally, what we'd want to do from a privacy perspective [06:28.370 --> 06:32.650] in these projects and assets is increase anonymity. Well, in some sense, that's an easy [06:32.650 --> 06:36.990] parameter to change. In Monero, we have a parameter called the ring size, which is how large is the [06:36.990 --> 06:40.770] anonymity set of every spent note. And in theory, that's just a network parameter that we could [06:40.770 --> 06:45.930] change in the code at any time. But the tradeoff is space time. If we were to increase that hugely, [06:45.930 --> 06:49.690] you'd end up taking up a lot more space for each transaction, and generation and verification [06:49.690 --> 06:52.710] would become very unwieldy. So you can't get everything you want for free. [06:53.530 --> 06:56.930] So let's look at several big ideas that have been floating around. I often get asked, like, [06:56.930 --> 07:02.390] oh, I see all these things, you know, in the news, whatever that means for you in the crypto sense. [07:02.750 --> 07:07.430] But I'm not really sure what they are, how they interact, why we are or are not using these. [07:07.470 --> 07:11.270] So let's go through them alphabetically. So one of them is called CLSAG that was partially [07:11.270 --> 07:15.290] developed in-house along with some other folks. Random Run was the one who came up with it. [07:15.290 --> 07:20.230] DLSag is one that we've been working on with Pedro Moreno Sanchez and other collaborators [07:20.230 --> 07:26.150] and several others that came from elsewhere, Atlantis, OmniRing, and RingCT3. So each of [07:26.150 --> 07:31.530] them takes a much different approach toward better scaling with improved anonymity, ideally. [07:31.530 --> 07:34.870] But there's different sets of tradeoffs. So this is not going to be a comprehensive dive into any [07:34.870 --> 07:39.310] of these, but just a basic overview of, like, what's available as a potential future for [07:39.310 --> 07:44.170] digital assets like Monero. So keep in mind, like I had said, [07:44.170 --> 07:47.610] the way that Monero's Ring signatures currently work is that you have this signature structure [07:47.610 --> 07:52.530] that does some cryptographic magic. What goes into it are the input notes, a true spend, [07:52.530 --> 07:56.290] and a bunch of decoys that are just kind of thrown around. Some additional hidden amount [07:56.290 --> 08:00.710] data goes in. And what also pops out is what's called a tag. And the tag is basically used to [08:00.710 --> 08:04.810] detect double spending. Because remember, there's some kind of obscurity from the spending going on [08:04.810 --> 08:09.730] here. So if two transactions popped out the same tag, you'd be able to detect a double spend. [08:09.730 --> 08:13.750] So the whole signature operation has to prove that you own a note that you're spending, [08:13.750 --> 08:19.330] has to assert that the transaction balances in a hidden way, and it must prevent double spending. [08:19.490 --> 08:23.370] And in our current case, a transaction may actually have several signatures if I'm spending [08:23.370 --> 08:26.990] several input notes. This is why the scaling gets pretty bad sometimes. [08:27.750 --> 08:32.110] But a modification of our current signature scheme, this modification is called CLSAG, [08:32.110 --> 08:36.030] and there's a longer name for it that I'm not even going to bother saying. It basically does the same [08:36.030 --> 08:41.270] kind of Ring signature stuff that we do right now. But the benefit is that through some clever [08:41.270 --> 08:45.610] compression that this guy Random Run came up with that we worked on, it basically ends up [08:45.610 --> 08:50.010] meaning that the transaction and the signature end up being much smaller on the chain. The [08:50.010 --> 08:54.830] signature drop size drops by about half, which is fantastic. And it's faster to verify, not quite by [08:54.830 --> 08:59.730] the same amount, but still faster to verify, and in fact, to generate. So you basically get all of [08:59.730 --> 09:05.230] this stuff for free. The downside is it only works for reasonable anonymity set sizes. Right now, [09:05.230 --> 09:11.130] anonymity set size is 11. So basically any spend, absent external information, [09:11.130 --> 09:15.510] spends one out of 11 notes. And you really can't increase that much with this scheme. [09:15.510 --> 09:20.390] So we really couldn't increase the anonymity very much. We could do it marginally without [09:20.390 --> 09:24.990] any added cost and space and time. The benefit, though, is we do have formal security proofs for [09:24.990 --> 09:29.990] it, and that means that it's essentially a faster and smaller drop-in replacement for the current [09:29.990 --> 09:34.870] Ring signature scheme with provable security, which is frankly pretty tough to do sometimes. [09:34.870 --> 09:39.650] No real downsides. And the status right now, we have a preprint paper available for this. [09:40.210 --> 09:43.090] Hopefully going to be getting it peer-reviewed and audited. We have had some folks looking at [09:43.090 --> 09:46.970] it, which is a good start. And in fact, code is ready to go for this. So this is something [09:46.970 --> 09:52.790] we'd like to deploy. Another new signature scheme called DLSag actually changes the structure of [09:52.790 --> 09:58.870] Monero's outputs and the Ring signature in not huge ways, but enough ways to make it a little [09:58.870 --> 10:03.990] bit more challenging. The benefit to this scheme is that besides kind of showing all the other [10:03.990 --> 10:08.490] stuff that we like, like balance and things like this, it could also enable such things as refund [10:08.490 --> 10:12.850] transactions non-interactively. There's some stuff involving payment channel networks that we could [10:12.850 --> 10:17.430] enable, and very limited kinds of atomic swaps that depend very heavily on like curb choice and [10:17.430 --> 10:22.390] stuff. But the downside to that is the way the scheme is set up right now is it would enable a [10:22.390 --> 10:26.850] particular kind of tracing where you could detect when certain spends occur. And this would mean [10:26.850 --> 10:29.830] that effectively you'd have to, if you receive funds, you'd have to spend them to yourself [10:29.830 --> 10:34.550] in order to break that linkage. And the downside is from scaling, you really couldn't do anything [10:34.550 --> 10:38.490] to increase anonymity for free. So you'd effectively open the door to things like [10:38.490 --> 10:43.510] off-chain functionality, which is pretty great, but at some cost involving self-spending and [10:43.510 --> 10:48.910] certain kinds of migrating output pools. That's a little bit tricky. However, a preprint is available [10:48.910 --> 10:52.810] and we're just kind of hoping that there may be a solution to the tracing problem involved with that [10:52.810 --> 10:57.770] to enable this cool functionality that we like. Another one, and the authors to this paper are [10:57.770 --> 11:03.210] here in the village at some point, I think somewhere, but it's a protocol called Atlantis. [11:03.210 --> 11:07.070] And this is actually based on the Zerocoin protocol that's been used in other assets. [11:07.070 --> 11:13.170] And this was designed by and for the Zcoin asset, in fact, but the paper is publicly available. [11:13.170 --> 11:18.510] It uses a very, very different kind of authorizing spend proof than Monero uses right now and that we [11:18.510 --> 11:22.970] may consider moving to. It turns out there's another auxiliary proof that you need besides [11:22.970 --> 11:27.990] the spend proof, the range proof, that we could actually reuse existing fairly efficient code [11:27.990 --> 11:33.030] that we already have. I personally like Atlantis because the spend proofs become very, very small [11:33.030 --> 11:37.830] and efficient, even at extremely large anonymity set size. We're talking on the order of 100 or [11:37.830 --> 11:43.070] 1,000 notes instead of around the order of 10 notes. But the downside is, similar to DLSag, [11:43.070 --> 11:48.210] it requires a self-spend operation to avoid someone being able to detect when a spend has [11:48.210 --> 11:52.750] occurred. There's a limited amount of information that's leaked there, but it's still leaked. [11:52.750 --> 11:57.490] Effectively, you'd get pretty high anonymity sets, you'd get very efficient proofs, but at the [11:57.490 --> 12:01.330] cost of this whole self-spend operation. But it's very promising and I think it's actually a really [12:01.330 --> 12:06.750] clever approach. I know Zcoin has some code in progress and we on the Monero side have also [12:06.750 --> 12:12.470] been working on some prototyping code just to kind of test it out. Another one that came out [12:12.470 --> 12:17.350] very recently is called OmniRing. This was actually designed kind of with Monero in mind, [12:17.350 --> 12:21.710] as far as I know. But it's basically a transaction protocol that is based on some ideas from the [12:21.710 --> 12:26.710] Bulletproof's range proof protocol that we already had integrated for a separate protocol. [12:27.170 --> 12:32.770] And it effectively uses one big single integrated proof for all spending that handles spending, [12:32.770 --> 12:36.370] it handles balance, and all of our auxiliary data, all kind of like tied up into this neat [12:36.370 --> 12:40.870] efficient package. It's kind of cool. And the reason I like it is because, much like Atlantis, [12:40.870 --> 12:46.270] you get very, very small proofs and you don't even need to kind of migrate over output pools. [12:46.270 --> 12:51.690] You can kind of reuse the same data that's already on the chain in terms of decoys in a really, [12:51.690 --> 12:57.010] neat way. But the downside is the cost of speed. OmniRing transactions would be slower than we're [12:57.010 --> 13:01.410] dealing with right now. And I kind of mentioned something called batching before, where in certain [13:01.410 --> 13:05.630] schemes, you can efficiently verify many transactions all at the same time. And right [13:05.630 --> 13:09.830] now, you can't do that with OmniRing. So, the scaling is really good for space, but it's not [13:09.830 --> 13:13.670] very good in terms of time. Everything else about it is pretty great, though, because you'd be able [13:13.670 --> 13:19.530] to get large anonymity sets without sacrificing size very much. So, right now, I know the team [13:19.530 --> 13:24.830] is working on ways to allow basically either batching or kind of separating out some of the [13:24.830 --> 13:29.070] inefficient parts in a way that maybe could be batched later. So, this one's kind of still very [13:29.070 --> 13:33.530] much in progress, but also very promising. And the last big one that came out was called [13:33.530 --> 13:39.010] RingCT 3.0. That's called RingCT 3 for short. It is a transaction protocol that at first blush [13:39.010 --> 13:42.790] kind of looks like OmniRing. It also uses some ideas from this bulletproof scheme that came out [13:42.790 --> 13:47.790] of Stanford. But it's definitely much simpler in structure and, in fact, uses separate proofs for [13:47.790 --> 13:54.370] instead of OmniRing's one compact single proof. So, much like OmniRing, though, it would allow [13:54.370 --> 13:59.190] for very small spend proofs at fairly high anonymity sets. So, the reason I like it is [13:59.190 --> 14:03.990] because it can be made efficient through bashing, unlike OmniRing right now, but at the cost of [14:03.990 --> 14:08.990] some migration stuff that may involve some tricky situations later. Another downside is there are [14:08.990 --> 14:12.470] some questions that remain on some of the security proofs that are still being worked on. [14:12.510 --> 14:17.250] But much like OmniRing, it's a clever design, small proofs. In theory, it's actually quite [14:17.250 --> 14:21.570] efficient if you can batch it. And there is a prototype code actually available for this, too, [14:21.570 --> 14:24.750] and we're still kind of looking into some of the proofs along with some other cryptographers. [14:25.950 --> 14:31.450] So, what does this all mean? That was all words. This is a picture. This is a table kind of [14:31.450 --> 14:36.310] comparing what I think right now is the current status of a lot of proposed transaction protocols [14:36.310 --> 14:41.950] that could allow for different anonymity sets. So, with several of these, we can get large [14:41.950 --> 14:45.990] anonymity sets, which is good, whereas some of the other ones that we were originally looking at [14:45.990 --> 14:50.070] keep them fairly small the way we have them right now. Batching is something we want to be able to [14:50.070 --> 14:54.150] do. It means that you can take a bunch of transactions and very quickly and efficiently [14:54.150 --> 14:59.230] verify them much more quickly than you could on their own. It's kind of a mixed bag whether or [14:59.230 --> 15:04.510] not you can do this. A couple of proposals like Atlantis and RCT3 do let you do this. [15:05.050 --> 15:08.470] Whether or not we'd have to do what's called a migration is also important. Migration would mean [15:08.470 --> 15:13.370] that you'd effectively have to kind of have a cutoff point for which new transactions must use [15:13.490 --> 15:18.230] a new protocol and you can't use decoys from old transactions. It's not really a game changer [15:18.230 --> 15:23.330] whether or not you have to do this, but ideally we would like to not have to do it. And CLSAG and [15:23.330 --> 15:27.730] OmniRing are the only ones right now that would not require such a thing. There's some tracing [15:27.730 --> 15:33.250] issues with DLSAG and Atlantis that I think are more or less showstoppers unless we can solve them. [15:33.330 --> 15:36.870] And finally, some of them do have code available, but that's obviously not a showstopper. [15:37.210 --> 15:41.310] My conclusion to this is despite the fact that we have a lot of really interesting options, [15:41.310 --> 15:44.790] as you can see from this table, it's kind of a mixed bag. I don't see there being a definite [15:44.790 --> 15:49.350] clear winner at this point that gives us everything we want. You know, high anonymity set, [15:49.350 --> 15:56.210] small proofs, efficient proofs, no real downsides. However, I can say that right now CLSAG, [15:56.210 --> 16:00.410] provided it passes audits, which are looking like they will probably be pretty good so far, [16:00.410 --> 16:04.250] that definitely will go through as kind of a current drop-in replacement for what we have now. [16:04.250 --> 16:07.970] The code is very, very simple. And despite the fact that it doesn't really increase anonymity [16:07.970 --> 16:13.130] or allow batching, it doesn't require migration, there is no tracing, we have code for it, [16:13.130 --> 16:18.010] and it is more efficient, just slightly, though. But I always get asked, what about [16:18.010 --> 16:21.690] zero-knowledge stuff? That's surely a thing you want to do, something, something. So what about [16:21.690 --> 16:26.790] zk-sporks or zk-snacks or whatever the latest thing is that sounds like that? [16:28.150 --> 16:32.330] My motto for all this stuff is that these sorts of things you often hear about, and there's many [16:32.330 --> 16:36.530] different instantiations and constructions for things that involve general zero-knowledge [16:36.530 --> 16:42.370] proving systems, those are proving systems. A proving system basically lets you take certain [16:42.370 --> 16:47.290] kinds of mathematical statements and show that they are true or valid in some way without revealing [16:47.290 --> 16:52.050] too much information about them. That's a proving system. A proving system is not a [16:52.050 --> 16:58.610] transaction protocol. These things are transaction protocols. So they dictate how to take outputs or [16:58.610 --> 17:03.390] notes on the chain and spend them and kind of authorize their signing and things like that. [17:03.390 --> 17:06.990] These are just proving systems. A proving system is like a language. You effectively have to have [17:06.990 --> 17:11.930] something to say in that language. Otherwise, the language itself is not useful. And right now, [17:11.930 --> 17:16.430] the most efficient ways that we can do these sorts of general zero-knowledge proving systems [17:16.950 --> 17:21.850] generally require a lot of centralized trust. So the big asset that uses this right now, of course, [17:21.850 --> 17:28.950] is zcash. And the instantiation of zk-snarks that zcash uses right now gets a lot of efficiency. So [17:28.950 --> 17:34.530] things have become quite fast in zcash and quite small. But you have to do a deal with the math [17:34.530 --> 17:39.690] devil. And the deal with the math devil that you have to do involves centralized trust. And that's [17:39.690 --> 17:45.290] something that if you're okay with, great. You get fantastic efficiency and zcash does a good [17:45.290 --> 17:48.830] job with their transaction protocol on that. But if you're not willing to accept that kind [17:48.830 --> 17:53.370] of centralized trust, like I would say most other projects and assets, then you don't really get to [17:53.370 --> 17:58.610] use that. And unfortunately, right now, building complete transaction protocols on generalized [17:58.610 --> 18:03.490] zero-knowledge proving systems, you have to sacrifice. There are a few trustless ones, [18:03.490 --> 18:08.290] but they're just not quite efficient enough. So that's the status of that and why, you know, [18:08.290 --> 18:14.650] right now, we can't really move to a generalized zk system. So it's unfortunate, but hopefully [18:14.650 --> 18:21.090] someday we can. But so what is actually next? Well, we'd like to audit and deploy the CL [18:21.090 --> 18:25.870] SAG signature scheme, which will make transactions smaller and a little bit faster, which is great. [18:26.070 --> 18:31.410] Hopefully try to work on some of the DL SAG and Volantis tracing issues. Remember, DL SAG [18:31.410 --> 18:34.770] could enable things like payment channels, which would be nice. Volantis would allow for much [18:34.770 --> 18:40.750] larger anonymity set sizes. With OmniRing, which is nice because it maintains a lot of kind of [18:40.750 --> 18:44.910] Monero similarities, if we can get batching working on that so it's efficient enough or [18:44.910 --> 18:49.990] possibly proof splitting, then it would potentially be a pretty likely candidate to go in as a [18:49.990 --> 18:55.730] protocol. And for RCT3, it's a question of making sure the security proofs on it are nice and [18:55.730 --> 19:00.170] solid. But the motto of all this, if you take anything away, should be that transaction [19:00.170 --> 19:04.490] protocols are very subtle and they're very, very tricky. That table should have hopefully told you [19:04.490 --> 19:08.750] that you don't really get everything for free. While it would be fantastic, I don't think anyone [19:08.750 --> 19:13.850] has really fully solved the idea of something that is trustless and efficient in every way. [19:13.910 --> 19:17.290] You know, the goal is to try to iterate and get better, and these protocols all definitely do [19:17.290 --> 19:23.290] that, but in different ways. So do we have time for questions, folks in the back? We do. Awesome. [19:23.470 --> 19:26.710] So I guess if there's any questions on this, I am very happy to answer them. Or we could [19:26.710 --> 19:44.160] just end early. Yes. Oh, so view key functionality for things like auditing. Right. So Monero, of [19:44.160 --> 19:47.920] course, if you were at one of the earlier talks, you basically have two keys. You have a spending [19:47.920 --> 19:51.780] key and a viewing key. You can provide the viewing key to, say, an auditor or someone else [19:51.780 --> 19:55.740] who you'd like to be able to watch for transactions on your behalf, but they can't spend those [19:55.740 --> 20:00.500] transactions. This can be useful for many reasons. Some of these protocols do, in fact, [20:00.500 --> 20:08.600] permit that. So, for example, CLSEG and DLSEG would. Omni ring also would. Ring CT3 could [20:08.600 --> 20:13.260] also have this enabled. And Atlantis, I don't believe, has any such functionality built in. [20:14.360 --> 20:17.980] So the answer is mostly. The nice thing is some of these protocols, in fact, [20:17.980 --> 20:21.460] they're neatly abstract enough that you can kind of just port over a kind of view key [20:21.460 --> 20:39.460] functionality that you would want in a really clean way. Yeah. Yeah, that's a good point. So [20:39.460 --> 20:43.760] the question was about whether or not this whole idea of migration would require users to take [20:43.760 --> 20:47.780] action to avoid losing funds. The answer is no, it wouldn't. And I definitely should have clarified [20:47.780 --> 20:53.420] that more. So when I say migration, what I mean is that effectively you kind of have a cutoff [20:53.420 --> 20:59.160] point and new transactions would only be able to use members of an anonymity set that were from [20:59.160 --> 21:04.560] that new protocol. And whereas if you had old funds before you could use the new protocol, [21:04.560 --> 21:08.620] you basically have to kind of do as a migration transaction to move the funds over to the new [21:08.620 --> 21:14.560] pool. I do not think that there would ever be any issue where funds could become unspendable. [21:14.560 --> 21:18.160] It would just mean that there's effectively a small added step in there for technical reasons. [21:18.680 --> 21:23.160] Ideally, we don't like to do this because ideally you have like the anonymity set be as widely [21:23.160 --> 21:28.180] available as possible. But no, like I don't foresee there being a situation where funds [21:28.180 --> 21:43.500] would be unspendable. It's not very good for sound money. Yes. Yeah, and I should say that [21:43.500 --> 21:48.280] like I'm not the one who makes these decisions. So I just, I build math and then I tell people [21:48.280 --> 21:53.700] if the math, if I think the math is good or bad. Yeah, it's like I speak only for myself with any [21:53.700 --> 22:02.440] of this stuff because I work independently. Well, I mean, the Monero project is historically [22:02.440 --> 22:07.260] iterated on things as they get better. So picking something and staying with it is, you know, very, [22:07.260 --> 22:11.660] and it's not something necessarily done. So for example, moving to CLSEG, I mean, [22:11.660 --> 22:15.540] if, if one of these other protocols, you know, were fantastic and ready right now, [22:15.540 --> 22:20.400] you know, I don't think I would even consider a CLSEG as a viable option for it. But it's [22:20.400 --> 22:25.000] something that is a small enough change at a technical and coding level that it could reasonably [22:25.000 --> 22:29.700] be adopted very, very soon, you know, while we sort of work on solving some of the issues with [22:29.700 --> 22:34.640] these other protocols. So like, is that good for technical debt or bad for technical debt? I mean, [22:34.640 --> 22:38.720] you got to make your sacrifices, right? But you know, it's, yeah, it's, it's right now, [22:38.720 --> 22:43.100] like folks seem very excited about CLSEG. So again, I don't make these decisions, but I like [22:43.100 --> 22:52.870] it. I think it's good to go. Yes. So for RCT3, I mean, provided that it was shown to be provided [22:52.870 --> 22:56.690] that like all the proofs end up working out okay. And again, I should point out too, that [22:57.710 --> 23:03.650] none of these papers have been peer reviewed. So these are all preprints, which to be very, [23:03.650 --> 23:08.350] literally anyone. Getting peer review, by the way, it's like, it's more challenging than you [23:08.350 --> 23:15.350] expect. So, so provided that any of these schemes are shown to be sound, and then it's just a matter [23:15.350 --> 23:22.830] of what the coding is going to look like. So RCT3 is fairly simple and straightforward. Atlantis, [23:22.830 --> 23:27.490] slightly less so in comparison and OmniRing is probably the most complex about all of them. [23:27.650 --> 23:31.270] But I mean, if folks were really interested in them and worked hard, you know, that could be [23:31.270 --> 23:35.330] on the order of a year, two years, but I mean, I'd hesitate to put a number on that because [23:36.090 --> 23:41.130] you never know. Yeah. And again, if you're waiting on peer review, you know, [23:41.130 --> 23:45.630] who the heck knows? That can be a very long process. Someone's back there. Yeah. [23:51.820 --> 23:57.100] No, the protocol itself was called CryptoNote and it was also a pseudonymous paper, [23:57.100 --> 24:01.380] kind of akin to how Nakamoto's paper was a pseudonymous paper. Yeah. But I mean, [24:01.380 --> 24:04.880] it's like the, yeah, it's a separate code base, but it was, it was kind of migrated [24:04.880 --> 24:10.960] over from other assets originally. Oh, that just, that just used kind of a, it was a CryptoNote [24:10.960 --> 24:14.320] based code base. Yeah. And it's just since been migrated much further than that with other [24:14.320 --> 24:22.140] editions. Oh man. CryptoNote was the transaction protocol. CryptoKnight was the original proof [24:22.140 --> 24:30.080] of work algorithm. Yeah. Conveniently, almost identical names. But again, now Monero protocol [24:30.080 --> 24:34.000] has definitely moved far enough away that I would say like it has, it has a CryptoNote heritage, [24:34.000 --> 24:40.440] but it's quite different now. I thought there was another hand there. Sure. [24:45.330 --> 24:50.070] Oh, like, like, I guess I don't quite follow what you mean. [24:51.590 --> 24:55.350] Oh, sure. It's like, so like if I added Monero protocol in here right now, oh, [24:55.350 --> 25:00.030] I should have done that. Oh man. Right now I would say anonymity set is quite small [25:00.030 --> 25:03.450] on the order of, and again, it's a network parameter, but on the order of about 10 [25:03.450 --> 25:08.410] notes for anonymity. Batchable, it is currently not batchable. Some parts of it involving range [25:08.410 --> 25:13.990] proofs are very, very batchable, but signatures are not batchable at all. In terms of migration, [25:13.990 --> 25:19.490] there was a sort of a migration when we moved to our confidential transaction model, [25:19.490 --> 25:22.630] but it was a pretty clean one. Tracing, as far as we know, does not have any, [25:22.630 --> 25:27.630] and of course we have code for it. There's a question up here first. [25:28.030 --> 25:42.560] In what way? I mean, I don't really do a lot of the day-to-day in the trenches development, [25:42.560 --> 25:48.120] but there's a large number of contributors. I would say if you were to plot out number of [25:48.120 --> 25:52.020] commits per contributor, there's several folks who do, I would say, the majority of commits, [25:52.020 --> 25:56.620] which is probably true for any project. But I would say honestly right now, a lot of it is [25:58.000 --> 26:02.320] getting, I mean, ideally, if we could get more developers who were magically willing to devote [26:02.320 --> 26:07.900] large amounts of time to doing development, it would be pretty fantastic. But again, [26:07.900 --> 26:11.260] the majority of people who do so just do so because it's an open source project and [26:11.620 --> 26:14.600] probably can't devote that much time to it, unless you meant something else. [26:34.890 --> 26:38.410] Oh, I see. So you're saying how do you actually encourage people to come in and do such thing? [26:45.120 --> 26:48.720] I mean, I would say in general, a lot of it just has to do with what kind of community you choose [26:48.720 --> 26:52.940] to build, which is like an ongoing problem, right? I mean, the development in Zcash tends to be very, [26:52.940 --> 26:56.140] very centralized. And I mean, a lot of what they do ends up being more complicated because [26:56.140 --> 27:01.280] their transaction protocol is much more complex. And I don't really have a great answer to that [27:01.280 --> 27:05.280] question. Because again, I don't do a lot of the day-to-day development on this. I do a lot [27:05.280 --> 27:10.460] more of the math side. But I mean, I think what would be nice is if it were much more clear what [27:10.460 --> 27:15.700] small tasks remained open so that people could kind of have a better sense of what they might [27:15.700 --> 27:21.380] be diving into for a particular problem. And maybe folks aren't very good at doing that right now. [27:22.240 --> 27:27.460] So I don't know if that answers your question. And I would say even on like the math side, [27:27.460 --> 27:31.180] right? It's often good to step back and be like, okay, what are some problems that need to be [27:31.180 --> 27:35.740] solved right now? How neatly contained are they? And what would be the time and knowledge [27:35.740 --> 27:39.280] commitment required to solve them? And it's tough, right? Because no one wants to be the one to [27:39.280 --> 27:44.880] maintain that list. Which is, I don't want to maintain that list. There was a question in the [27:44.880 --> 28:06.460] back, I think, first. Yeah. Becoming a what? Oh, you're talking about the formalization of [28:06.460 --> 28:18.210] it as a protocol. So in terms of very, very formal protocol analysis, yeah, I mean, [28:18.210 --> 28:23.470] formal protocol documentation has been severely lacking for a long time. And there's steps to try [28:23.470 --> 28:28.130] to get at least kind of a bare bones protocol in place. But one of the big problems is that it [28:28.130 --> 28:33.590] iterates so quickly. And that, I mean, even the base stuff we have right now needs massive [28:33.590 --> 28:40.650] updating. And no one really has, no one wants to write the documentation. So it's really, [28:40.650 --> 28:44.790] it's not there yet. I mean, I personally would like to see it there. But again, I don't run the [28:44.790 --> 29:14.550] show, so... yeah. So you're talking about how do you determine what the optimal anonymity set is? [29:14.550 --> 29:19.510] Yeah. I mean, bigger is better, right? But I see, but a lot of, and you're talking about the, [29:20.130 --> 29:24.150] I want to say complaints that we get, because they're valid, about the fact that, like, [29:24.150 --> 29:28.830] decoy-based privacy, like Monero uses, is in many ways inferior to, like, having a full anonymity [29:28.830 --> 29:33.530] set, like something like Zcash has, which, you know, in some sense is true. But I also don't [29:33.530 --> 29:37.790] want to say that having a full anonymity set is like this magic bullet that solves all your [29:37.790 --> 29:43.250] problems. You know, there are all sorts, there's network metadata that floats around. There's [29:43.250 --> 29:47.570] other transaction metadata that floats around. Zcash has transaction metadata, too. You know, [29:47.570 --> 29:53.310] folks maybe don't talk about it as much, but, you know, they do, too. But it is absolutely true [29:53.310 --> 29:57.510] that, like, certain kinds of analysis that are possible with decoy-based assets like Monero [29:57.510 --> 30:05.010] are because the anonymity set is small. And, you know, anecdotally, I would say, like, [30:05.010 --> 30:08.110] the numbers we've been kind of throwing around are, like, two orders of magnitude differences. [30:08.130 --> 30:13.230] So we're at, like, order O of 10 right now. We're thinking, like, if you, once you get to, [30:13.230 --> 30:17.870] like, 100, then you start getting a lot of diffusion in your transaction graph that I would [30:17.870 --> 30:23.410] estimate would probably reduce the effects of that kind of analysis. But, again, that's not the only [30:23.410 --> 30:27.050] thing that you have to care about. There's plenty of other metadata that's floating around that's [30:27.050 --> 30:36.960] very, very tricky to get rid of. So dandelion, yes, so in terms of, like, network level stuff, [30:36.960 --> 30:41.300] like, kind of the big goal is to be able to allow for much better support for running over Tor, [30:41.300 --> 30:47.560] running over I2P, and, like, running dandelion-style routing. But running dandelion-style [30:47.560 --> 30:50.940] routing where some folks are running over just the plain old internet, some folks are running [30:50.940 --> 30:55.600] over Tor and some over I2P is surprisingly tricky. And we've had some folks who have been looking [30:55.600 --> 31:01.400] very, very deeply into doing that. So the plan is to integrate such things. But it has to be [31:01.400 --> 31:04.640] done carefully. And, again, like, there's running over Tor doesn't magically mean that there's no [31:04.640 --> 31:08.260] metadata floating around either. So none of this stuff is a silver bullet. It's very, very layered [31:08.260 --> 31:17.010] and very, very complex to integrate properly. Yeah? What's the next level? [31:19.230 --> 31:23.870] I would say, like, having, like, something like this. You know? Being able to have [31:23.870 --> 31:28.530] much more efficient transactions at a much higher anonymity set size. [31:28.790 --> 31:33.470] Like, what is that going to do? I don't know. Right now, it's usable. It's usable right now. [31:33.670 --> 31:38.230] But, yeah, it's usable right now. But, you know, there's plenty of analysis that works on it, [31:38.230 --> 31:45.670] right? And it would be nice to not have that analysis work anymore. If one person can do the [31:45.670 --> 31:49.870] analysis, any person can do the analysis. I don't want the bad guys to do the analysis either and [31:49.870 --> 31:58.610] put people in danger. All right. That's plenty of questions. We'll just go ahead and stop. [31:58.610 --> 32:01.570] All right. Well, thank you for indulging me in speaking here.