Latest / The Hedge / Hedge 281: Blockchain
Transcript
- 0:01Join us as we gather around the hedge,
- 0:03where we dig into technology,
- 0:05business, and culture with the finest minds in
- 0:08computer networking.
- 0:20Good morning, Tom. How are you? Good morning,
- 0:23Russ. I'm doing well. How about yourself? Fine.
- 0:25One of two today.
- 0:27Yes. Yes. It's gonna be a good day.
- 0:29Yeah. Once we finish this podcast, we'll be
- 0:31halfway done with all the work you have
- 0:33to get done today.
- 0:36I love Friday. Other other than turning the
- 0:38plant
- 0:40to make sure it doesn't grow crazy in
- 0:42one direction. I don't know what to do
- 0:44about that.
- 0:45So today, we are joined by Austin Fedor
- 0:48Fedorra?
- 0:49Fedorra? How do you say it? Fedorra? I'm
- 0:50not sure. Fedorra. Okay. Awesome. Great.
- 0:54And where are you, Austin? Other than sitting
- 0:56in front of the empty cat bed.
- 0:58Yes. I am based in New York City.
- 1:00Okay. Awesome. What part? Just curious.
- 1:03I'm over in Brooklyn.
- 1:04Okay. I used to, I used to work
- 1:07at a small reseller,
- 1:09EMC squared, and we did a lot of
- 1:11work
- 1:12in that area. And we actually did work
- 1:14at the hot one of our clients was
- 1:16the Haagen Dazs factory,
- 1:18and I believe it's in Brooklyn. And there's
- 1:21nothing like an ice cream bar directly off
- 1:24the line before it's been blast freeze.
- 1:27That's like, that's like crazy good ice cream
- 1:29right there.
- 1:30So,
- 1:32yeah, it was really good. And then I
- 1:34worked at the
- 1:36United Engineering Center for a couple of years,
- 1:38which is gone now, so whatever. It's called
- 1:40across the street from the UN.
- 1:42So that building is now gone. But at
- 1:44any rate. So New York City, Brooklyn. Yep.
- 1:47Very familiar with the area.
- 1:48Alright. Awesome. So today, we are talking about
- 1:51blockchain,
- 1:52and Austin's gonna explain everything there is no.
- 1:55Forget that.
- 1:57Austin. Let's see what we can do. We
- 1:59only have an hour. Yeah. So,
- 2:02Austin's gonna talk about scaling. So I know
- 2:05that, like, there's been stories about water and
- 2:08power and all sorts of issues around data
- 2:10center space. And, of course, we know that
- 2:14blockchain relies on proof of work,
- 2:17which others think is hilarious. I see these
- 2:18news stories. We're gonna reduce the amount of
- 2:21proof of work in blockchain. I'm like,
- 2:23don't you, like,
- 2:27do you not understand blockchain?
- 2:32Yeah. You really,
- 2:34it's kinda one of these funny things where
- 2:36so back when blockchain originally started, right, if
- 2:39we go back to sort of, like, the
- 2:40Bitcoin days and the original versions of Ethereum,
- 2:44proof of work was was the standard. It
- 2:46was what everything was using.
- 2:48And it basically runs on its security model.
- 2:51People think about it as hash power, but
- 2:53hash power is really just a proxy for
- 2:54energy usage.
- 2:56Right? The security of Bitcoin comes from the
- 2:58fact that
- 2:59you can't buy enough coal plants to attack
- 3:02the network. The actual power demand that you
- 3:04need to assemble to run the miners
- 3:06to try and attack the network
- 3:09is, like, you know, the entire production of
- 3:12a mid sized
- 3:13European country. It's just not Yeah. Viable for
- 3:16someone to even obtain that much electricity.
- 3:19The good news, though, is that, you know,
- 3:22starting in sort of roughly 2019 and really
- 3:25the transition, you know, continued into 2022 and
- 3:282023.
- 3:29But at this point, Bitcoin and Doge are
- 3:32really the only two prominent protocols in crypto
- 3:35that are still on proof of work. Everything
- 3:37else has switched over to proof of stake,
- 3:39which basically is the same energy profile as
- 3:41any typical web two application would.
- 3:44Yeah. It's interesting because when I talked to
- 3:45Radia Perlman many years ago
- 3:48about Bitcoin and proof of work, she was
- 3:51very insistent that she would never invest in
- 3:53a proof of work system
- 3:55because, because of what you just said, like
- 3:58some country could dedicate
- 4:01some large country. It wouldn't be a mid
- 4:03sized country. That'd be a large company, China,
- 4:05India, Russia, picked something, you know, something like
- 4:08that, or some first world like US or
- 4:11Australia or something
- 4:12could actually dedicate enough energy resources
- 4:16to control more than 50%
- 4:18of the processing power thrown at Bitcoin.
- 4:21And then they could just basically take the
- 4:23chain over and there would be no undoing.
- 4:26It would be just a done thing
- 4:28because it's it's unidirectional.
- 4:30So that's that's interesting that you talk about
- 4:32proof of stake. So can you explain the
- 4:35difference between proof of stake and proof of
- 4:37proof of work?
- 4:38Yeah. So proof of stake uses basically the
- 4:42scarcity of an asset class as a security
- 4:44mechanism. And so with Bitcoin, right, Bitcoin is
- 4:47valuable for you have a thousand theses for
- 4:50why it's valuable. But the reason it's secure
- 4:52is because as we talked about, the energy
- 4:53budget is so high to attack. Yeah.
- 4:57With proof of stake, it's a little bit
- 4:58different. So if you look at a network
- 5:00like Solana, there's approximately, you know, 500,000,000
- 5:03tokens out there. And there are some that
- 5:05are programmatically created due to, like, inflation on
- 5:08the protocol
- 5:11to pull the same type of attack. Right?
- 5:13The attack vector for a proof of work
- 5:15protocol
- 5:16is you physically build enough miners,
- 5:19basically, you know, compute units to attack the
- 5:22network. With proof of stake, you have to
- 5:24actually buy them and acquire them. So you
- 5:26can do that through hacking,
- 5:28as, you know, North Korea is prone to
- 5:30do, or you can, you know, do that
- 5:32through purchasing them. But, you know, because there's
- 5:35not actually, like, enough supply on the market
- 5:38at any given time to attack them, it's
- 5:40not like someone could just go on and
- 5:42buy 30%
- 5:43of the supply of Solana. The market's not
- 5:45that deep. And even if it was, you'd
- 5:47send the price, you know, up to the
- 5:50moon just from trying to acquire all of
- 5:52those all of those shares. It's very similar
- 5:54to what happens in a traditional company if
- 5:57there's, like, a a takeover that someone's trying
- 5:59to pull.
- 6:00It it takes years usually to acquire enough
- 6:03shares and that, you know, to actually be
- 6:05able to get a board seat on a
- 6:07company. The the even the activist hedge funds
- 6:09have to be very, you know,
- 6:11surreptitious
- 6:12about how they're purchasing shares and those sorts
- 6:14of things.
- 6:15So it's just a different security,
- 6:18model. And so because of that, they have
- 6:19different energy profiles because
- 6:22the energy isn't securing proof of stake in
- 6:24the same way it is proof of work.
- 6:26Right. So so we could say that Bitcoin
- 6:28is basically
- 6:30a proof of stake, but it's in power,
- 6:33essentially,
- 6:34is what it is. Right? How much power
- 6:36can you bring to the game?
- 6:39How much Although the difference is, and this
- 6:41is kind of really important from,
- 6:44like, a
- 6:45a economic and dynamic perspective.
- 6:48In Bitcoin, your rewards are
- 6:51their contribution to the network.
- 6:53So if I contribute 10%
- 6:55of the of the hash power, which, you
- 6:57know, will be 10% of the power budget
- 6:59to the network, I will get 10% of
- 7:02the rewards for a given period of time.
- 7:04Now, obviously, because Bitcoin,
- 7:06it's you have to average it out over
- 7:07a period of time. But, you know, over
- 7:09enough time, I will average out to 10%.
- 7:11That's not the case in a proof of
- 7:13stake
- 7:14system. It's based on how many tokens you
- 7:16have attached to to your node,
- 7:19your earn rate. And so it's a it's
- 7:20a pretty interesting dynamic where one of the
- 7:22advantages of Bitcoin is it has an attribute
- 7:25of fairness to it, where if you're
- 7:28bringing x percent of the security budget, you
- 7:30receive exactly x percent of the reward.
- 7:33Proof of stake networks don't have that same
- 7:35dynamic.
- 7:36So if your validator is 10 times more
- 7:39performant than mine,
- 7:41but I have more tokens than you, I
- 7:43will earn more rewards than you even if
- 7:45you are technically helping the network more.
- 7:48Yeah. So so this is closer to a
- 7:50physical asset then. It's closer to
- 7:53real estate, for instance, where you happen to
- 7:56buy the piece of property that the highway
- 7:58is going through,
- 7:59and therefore, you get to sell to a
- 8:01gas station instead of a farm,
- 8:03and therefore you suddenly
- 8:05are much wealthier. Or even in the gold
- 8:07market where, you know, if somebody tries to
- 8:10to corner the gold market, well, guess what?
- 8:13They're helping you just as much as they're
- 8:15helping themselves in the long run. Or gold
- 8:17miners even. Right? People who go out and
- 8:20physically mine gold.
- 8:22The the most productive mine doesn't always win
- 8:24the financial game.
- 8:26It depends on marketing and the ability to
- 8:29get the gold to market and stuff like
- 8:31that.
- 8:32So it's interesting that
- 8:34so this is closer to me just thinking
- 8:37about it economically
- 8:38to something like that land, gold, something that's
- 8:41physical.
- 8:42So
- 8:43the result of that seems to be that
- 8:45it will be closer to
- 8:47physical financial
- 8:49results, like
- 8:51more
- 8:52random
- 8:53in the real world,
- 8:56but yet
- 8:58less
- 8:59consumption of resources to get there. Is that
- 9:01kind of the point?
- 9:03Like, I mean, random by I mean, random,
- 9:05like, you bought the land that was next
- 9:07to the right next to the
- 9:09highway, and you didn't realize you were doing
- 9:11that, you know, a hundred years ago or
- 9:12whatever it is. The the the thing that
- 9:15makes proof of stake network secure
- 9:17is the fact that they are valuable.
- 9:20Right? Which is sort of a tautology if
- 9:22you think about it. But, like, the the
- 9:25more valuable,
- 9:27you know, Apple gets, the harder it is
- 9:29to get a board to get them to
- 9:30buy enough shares to get a board seat
- 9:32on Apple. Right? It it it's that same
- 9:34exact type of structure. Structure. The place that
- 9:37proof of work and so in both of
- 9:38them, obviously,
- 9:39they break
- 9:42up caring enough to run the infrastructure. Right?
- 9:44And so if the price drops to a
- 9:45low enough point that someone can just buy
- 9:47it, you know, at all, well, there's an
- 9:50attack factor there with Bitcoin. If people stop
- 9:52caring enough about Bitcoin to secure it, it
- 9:55gets easier to attack it.
- 9:57So they both sort of have the same
- 9:59failure case. But in success case, they have
- 10:01very different dynamics,
- 10:03that are are you know, one of them,
- 10:05I would say, more closely mimics,
- 10:08probably, like, existing financial products and instruments that
- 10:11would be a proof of stake network.
- 10:13And the ones that more closely mirror commodities
- 10:16in terms of, like, the properties of gold
- 10:18or real estate or something along those lines,
- 10:19even though real estate is not exactly a
- 10:21commodity.
- 10:22That that's kind of the proof of work
- 10:23system.
- 10:25So then so then what are the what
- 10:27are the scaling challenges that you see?
- 10:29Yeah. So, you know, it depends kind of
- 10:32what you're looking at. So there's really only
- 10:34Bitcoin is really the only protocol that has
- 10:36no aspirations
- 10:37to get faster. Right? One of the values
- 10:40of Bitcoin is that it doesn't change. Right?
- 10:42It doesn't need to get faster because
- 10:45it as much as people talk about it
- 10:46as a currency, you know, it really is
- 10:48not no one's buying small things in Bitcoin
- 10:51for the most part. Or if they do,
- 10:53they're using it on top of some other
- 10:55network like Lightning or Wrapped Bitcoin or something
- 10:58along those lines. They're effectively using a derivative
- 11:00of Bitcoin. They're not using Bitcoin. Yeah. For
- 11:03those who don't know what lightning is, lightning
- 11:04bunches up. It's like it's almost like a
- 11:07bank, an intermediary bank, where they bunch up
- 11:1015 or 20 or a 100 or a
- 11:12thousand transactions
- 11:14into a single transaction. So you have, like,
- 11:17subtrees,
- 11:18and you have, like, okay, I'm gonna take
- 11:19this $10,000
- 11:20in Bitcoin, and I'm gonna make that a
- 11:23subtree, and people can do one and two
- 11:25dollar transactions within that $10,000
- 11:27scope.
- 11:28And then the whole
- 11:30transaction
- 11:31as a bundle
- 11:33gets pushed back to the blockchain.
- 11:35So it's so it's,
- 11:37so it allows you to do because a
- 11:39lot of the problem with with Bitcoin in
- 11:41this room is, like you said, it's it's
- 11:42power based. Right?
- 11:44Like, you don't wanna spend the power on
- 11:46a 50¢ transaction. Like, that's crazy.
- 11:49You're never gonna Yeah. There's there's not much
- 11:51there's not much what's called sort of block
- 11:53space, which is sort of how much data
- 11:54you can fit in a block. There's not
- 11:56much you can fit in a Bitcoin block,
- 11:58plus the finality on them is very long.
- 12:00You may depending on how much security confidence
- 12:03you want, you may be waiting an hour
- 12:05for your transaction to really settle, which, you
- 12:08know, maybe for buying a house, that's fine.
- 12:10But, like, it's not a day to day
- 12:12payment. So Right. When we look out for
- 12:14other types of networks, though, we we start
- 12:17to see, like, smart contract networks, which was
- 12:20sort of the thing Ethereum
- 12:21pioneered back in the early days. And smart
- 12:24contracts are really a fancy way of saying
- 12:26there's a there's a runtime. Right? And the
- 12:28minute there's a runtime, you can run programs
- 12:30on it. And so,
- 12:32the whole point of blockchains,
- 12:34you know, have evolved from being this sort
- 12:36of, like, cryptographically
- 12:37secure asset type
- 12:39to effectively what it is is it's it's
- 12:41globally verifiable compute that has no
- 12:45dependencies
- 12:46that rely on trust in the process.
- 12:49And that really is, like, what the whole
- 12:51thing is is built for. So, for example,
- 12:53when when I'm running code on a server
- 12:54on AWS,
- 12:56there's a lot of trust involved in that
- 12:58assumption. I'm trusting that AWS is not inspecting
- 13:01and monitoring the virtualized instance. I don't actually
- 13:04know where that server is, you know, all
- 13:06these sorts of things. And the way that
- 13:07the program is constructed
- 13:09is
- 13:11minded because I assume I'm running in a
- 13:13in a secure environment for the most part.
- 13:16When a program runs on, blockchain, what's effectively
- 13:19running it is is, you know, the
- 13:22world's slowest virtualized instance of a computer.
- 13:26And it's running, you know, like, most blockchains
- 13:28do one thing at a time or they
- 13:30have some amounts of parallelization, but not a
- 13:32ton.
- 13:33And that really is like a giant in
- 13:35order operation computer, and that was the first
- 13:37version. This was the Ethereum virtual machine. It
- 13:40was kind of the first network you could
- 13:42deploy programs onto. These programs were very compute
- 13:45starved. They actually more closely remembered, resembled computer
- 13:49programs from, like, the seventies and eighties where,
- 13:51like, you can't really do like, it took
- 13:53people a while to be able to do
- 13:54floating point math on blockchains. Right? There just
- 13:57wasn't a lot of capacity available for these
- 14:00types of things.
- 14:01And so that was kind of one of
- 14:02the examples that that, you know, we look
- 14:05at as, like, a scaling problem is how
- 14:08do you get more compute available? How do
- 14:10you get more block space available? There were
- 14:13a bunch of those types of questions that
- 14:14were sort of the original ideas of of
- 14:16how do you scale a blockchain.
- 14:19So why do you want more compute? Direction
- 14:20we can go from there. Yeah. Why why
- 14:21do you want more compute? I guess, is
- 14:23the first question. It feels like it should
- 14:25just be
- 14:27a storage of past transactions. So, like, what
- 14:30what does the compute get me?
- 14:33So there's a whole bunch of, like if
- 14:35you sort of think about it from the
- 14:36perspective of, like, a database.
- 14:39Right?
- 14:40The most basic thing of a database, its
- 14:42function is to write data into and store
- 14:45Well, you also need to do things like
- 14:46build an index. And what if you want
- 14:48to run analysis on the data that's within
- 14:50it? So the first version of blockchain was
- 14:53exactly that. It was Bitcoin. Right? And all
- 14:55Bitcoin cares about
- 14:57is recording entries in a ledger and keeping
- 14:59very good accounting.
- 15:01And the whole point of it is to
- 15:02make sure you can't do something called double
- 15:04spend.
- 15:05And double spend is exactly what it sounds
- 15:08like. It's I do a transaction,
- 15:10with each of you at the same time.
- 15:13Only one of those transaction can go through
- 15:15because I only have a certain amount of
- 15:17of tokens. I can't spend it in two
- 15:19places at the same time.
- 15:21And, you know, the double spend problem in
- 15:24the traditional world is solved by one or
- 15:26two ways. Either we have cash. Right? Right,
- 15:29and there's only x amount of bills. And
- 15:30so if I have a $10 bill, I
- 15:32can only spend it once.
- 15:35Or we have a bunch of systems of
- 15:37chargebacks
- 15:38and authorizations
- 15:39and preauthorizations
- 15:41that don't actually prevent double spend. They just,
- 15:46add some checks and balances in the process,
- 15:48and then we sort of solve it through
- 15:50a bunch of, like, credit card fees and
- 15:52other types of things. So, like, I can
- 15:54theoretically get a credit card that allows me
- 15:56to spend more money than I have, and
- 15:58that is a double spend problem in a
- 16:00sort. We've just got a complicated court system
- 16:02behind it. So to get to the question
- 16:04of, like, why do we want compute on
- 16:06chain,
- 16:07we basically won't compute on chain for the
- 16:09same reason
- 16:10we everything else. The minute you can add
- 16:13compute to a system, you add programmability,
- 16:16and programmability
- 16:17adds flexibility.
- 16:18So it's kind of the same argument of,
- 16:21like, oh, like, why do we need computers
- 16:23inside of, like, most of our electrical grid
- 16:25infrastructure? It's like, well, for management.
- 16:28And on blockchain management field can be a
- 16:30very different type of thing. So there's this
- 16:32concept of, like, programmable
- 16:34money, and it's both a technical concept and
- 16:37a real concept. But the minute you have
- 16:39something that is an asset where
- 16:43you can program qualities into it,
- 16:46the entire dynamic of how we relate to
- 16:48an asset changes. So I can give you
- 16:50a bunch of examples, but, like, one of
- 16:52the simplest ones was actually Andrew Yang had
- 16:55this whole idea for
- 16:56rebuilding
- 16:58food assistance in New York City
- 17:00onto a crypto based network that would be
- 17:02run by the city. And the reason for
- 17:05this is you can do a bunch of
- 17:06things with compute that you can't do in
- 17:09the traditional system. So
- 17:12a great example of this is
- 17:14they could give you money that, for example,
- 17:16increases or decreases based on a time interval.
- 17:20Right? So you could have a system where,
- 17:22let's say,
- 17:23you know, we go into COVID two. There's
- 17:25another stimulus check that goes out. What's the
- 17:27point of a stimulus check? The point of
- 17:28a stimulus check is for people to spend
- 17:30it to keep the economy going. If you
- 17:32take the stimulus check and you put it
- 17:33in your bank account, that actually doesn't do
- 17:35any good. That's not like what the people
- 17:38at the Fed want. They want you to
- 17:40go
- 17:41to stay open. So you could write, for
- 17:44example, a programmable money contract
- 17:46that says
- 17:48every
- 17:49week, we decree we we basically delete 5%
- 17:52of the money we sent you if you
- 17:53haven't spent it.
- 17:55And so suddenly, you have an incentive to
- 17:57spend that money as opposed to save that
- 17:59money. And that's something that, like, in theory,
- 18:02you could, I guess, do in a traditional
- 18:05stimulus check. But it's something that, like, the
- 18:07entire infrastructure of how we manage this stuff
- 18:10is not set up at all to allow
- 18:11that type of computation.
- 18:13With blockchain, like, rebalancing
- 18:16and auto compounding and these sorts of things,
- 18:18they're just baked in because the systems are
- 18:20built from the ground up, like, to be
- 18:23accounting and tracking ledgers. And that means making
- 18:25programmatic modifications to them is like quite trivial.
- 18:29So is it sounds
- 18:31it isn't there though some security in the
- 18:34fact that the money supply like, if if
- 18:36we just look at traditional economy, not Bitcoin,
- 18:38isn't there some security in the fact that
- 18:40the money supply itself can't do anything?
- 18:43That it has that someone else has to
- 18:45use it for like, an intelligent agent has
- 18:47to use it for a purpose? I mean,
- 18:49it doesn't it represent a a security risk?
- 18:52I would say, maybe it's just a philosophical
- 18:54thing, but, like,
- 18:55that that the money itself can't do anything.
- 18:57In this in this sense, it seems that
- 18:59the the, you know, the the money is
- 19:01is is intelligent. Doesn't that represent a risk
- 19:04to the system?
- 19:06It sort of represents a risk the same
- 19:08way that, like, smart traffic lights represent a
- 19:11risk. Right? And, like, gas pipelines represent a
- 19:15risk. Right?
- 19:16All of these types of things have some
- 19:18anytime you add a computer onto something, like,
- 19:20you have created in some abstract sense a
- 19:23security vulnerability into that system.
- 19:25Right. So it's really just a question of,
- 19:27like, are the trade offs that you get
- 19:29from this
- 19:30worth it? Right? The the safest, most efficient
- 19:33system in the world is one where we
- 19:35all pay in a heavy, hard to move
- 19:38physical asset.
- 19:39Right? Right.
- 19:42And there's a lot of downsides to that.
- 19:43Like, you're not gonna, like,
- 19:45have a bunch of gold physically in your
- 19:47house. Like, that's that's a security risk in
- 19:50its own, right, for different reasons.
- 19:52But we also do kind of have these
- 19:53programmability
- 19:54wrappers for US dollars.
- 19:57It's the Federal Reserve Bank. Right? It's the
- 19:59ACH system, the automatic clearing house that's run
- 20:01by the Fed. It's all of these other
- 20:03types of systems we've built on top of
- 20:05it that are are just as critical for
- 20:08money to flow and operate.
- 20:10But the difference is is that they're separate
- 20:12onto a different layer. And so one of
- 20:14the key points of blockchain is it's actually
- 20:17the most perfect system of accounting humans have
- 20:19ever
- 20:21can verify
- 20:23that the ledger is indeed correct, and they
- 20:25can see in real time if anyone has
- 20:28tried to modify it.
- 20:29Right? So, like, if Bank of America goes
- 20:32down you guys I'm I'm guessing maybe you've
- 20:33seen the show mister robot? Yeah. Mhmm. Yeah.
- 20:37So that's, like, a perfect example. Right? They
- 20:39they delete a bunch of bank system records,
- 20:40and suddenly,
- 20:41all the records of everyone's
- 20:43both debt and
- 20:45wealth has been deleted because the only place
- 20:47they existed was on the bank's ledger.
- 20:50The thing about Bitcoin
- 20:52and crypto
- 20:53is I can like, you can independently verify
- 20:57how much money I have in my account,
- 20:58and I can verify how much money I
- 21:00have in my account. And so because of
- 21:02that, we're not none of us is ever
- 21:03trusting some intermediary like Bank of America
- 21:06to say, like, here's how much money is
- 21:08in Austin's account. It's just verifiable by anyone
- 21:11out there. And there there's downsides of that
- 21:13too. But one of the main upsides is
- 21:15it it reduces the
- 21:17hierarchical
- 21:18relationship we have to money.
- 21:21Interesting. So I remember there used to be
- 21:23there was a Michael Crichton or a
- 21:26Tom Clancy novel or something
- 21:28where the entire stock market computer system was
- 21:31taken over by an attacker,
- 21:33and they caused the market to crash. And
- 21:36the solution was just to roll back to
- 21:38midnight the night before
- 21:39because it's all computers.
- 21:42Right? So I can scroll back to any
- 21:44point I want to in the past. What
- 21:45was the last fair trade we know about?
- 21:47Was it midnight? Let's pick something arbitrary. Let's
- 21:50go do it. So that was that was
- 21:52the solution they eventually offered to the problem.
- 21:55Now, when you talk about programmatic money, the
- 21:58other thing I think about are like,
- 22:00in the high speed trading market,
- 22:02one of the ways that people make their
- 22:04high speed trades faster is they actually program
- 22:07their trades into the forwarding engine on the
- 22:09hardware.
- 22:11Yes. They do. So in this case, you
- 22:12could program the trade
- 22:15into the smart money contract, perhaps,
- 22:18and say,
- 22:19oh, when the price gets to x, sell.
- 22:24So this actually already happens on chain.
- 22:27Not only do you have on chain limit
- 22:29orders and these sorts of things like you
- 22:30have in the traditional space, but, you know,
- 22:33some of the first versions of on chain
- 22:35trading markets were what's called automatic market maker
- 22:38systems. And they basically run on,
- 22:41a mathematical function that tries to balance both
- 22:44sides of the asset pool pretty much in
- 22:46real time.
- 22:47And so what these do is they they
- 22:50they take much less compute than, like, a
- 22:51central limit order book. They take a lot
- 22:53less updating than central limit order book. There's
- 22:55no cancels. Like, a lot of the complexities
- 22:58of running a modern order book are don't
- 23:00exist for an AMM. There's downsides of that
- 23:02too. And now crypto is largely moving over
- 23:04to central limit order books.
- 23:06But it's exactly this. Right? You actually even
- 23:08on some protocols today, you can have pre
- 23:11hooks and mid hooks and post hooks. And
- 23:13so you can sort of program, here's the
- 23:15trade I wanna do. If the market responds
- 23:18in this way,
- 23:19go do this secondary trade coming off of
- 23:21it.
- 23:22And so it really is, like,
- 23:26it's really powerful in terms of what you
- 23:28can actually program into a system if you
- 23:31are a professional trader.
- 23:34And one of the cool things about blockchain
- 23:36is this is kind of all on a
- 23:37level playing field. Right? If if I wanna
- 23:39go trade on the New York Stock Exchange
- 23:41and I wanna actually be competitive,
- 23:43it's millions of dollars a year just to
- 23:45get in the door.
- 23:46Right? I I need to have a server
- 23:48collocated
- 23:49at NYSE in Secaucus with the same length
- 23:52cables everyone else has and access to the
- 23:55fast data feeds, which are all done through
- 23:56multicast. And, you know, there's a whole big
- 23:59process, and it's expensive for a reason. Right?
- 24:02All that infrastructure is not free.
- 24:04But all of that is a system that
- 24:06creates, you know, sys
- 24:09in the top tier paying. But for everyone
- 24:11else downstream,
- 24:12there's no way, like, you can be competitive.
- 24:15Whereas on on crypto,
- 24:17if you just are the world's smartest quant,
- 24:19you can go on chain and you can
- 24:21trade. And, you know, you do have to
- 24:22get, like, a dedicated RPC server and stuff.
- 24:24But for orders of magnitude lower access,
- 24:28you actually can start trading and compete with
- 24:31anyone else trading on chain on a much
- 24:33more level playing field.
- 24:36Interesting. Okay. So let's return back to our
- 24:38original topic because we've gone down a pretty
- 24:41good rabbit hole here,
- 24:44which is how does all this relate to
- 24:47energy consumption? I think we've already kind of
- 24:49answered this,
- 24:50but scaling properties. Right? So for my audience,
- 24:54of course, it's network engineering and, like, what
- 24:56does this do for network? Seems like to
- 24:58me,
- 24:59there would be more traffic on the network
- 25:01because of this rather than less.
- 25:03Yeah. This is, you know, it it's funny
- 25:05because, like, you talk to network engineers and
- 25:08we actually we've we, you know, double zero
- 25:09is at its core a OSI layer one,
- 25:12two, and three networking protocol for distributed systems.
- 25:15And so we have many network engineers who
- 25:17work for us who were not in crypto
- 25:19at all until they they sort of got
- 25:20into this. And, you know, there's a little
- 25:23bit of, like, wait. This is seriously how
- 25:24it works that, like, a lot of network
- 25:26engineers get because
- 25:28one of the properties of these systems is
- 25:30they are
- 25:31decentralized
- 25:32and distributed.
- 25:33And so what does that mean? Let's take
- 25:35Solana, for example. Solana is one of the
- 25:37fastest blocks
- 25:39spent the last four years of my career
- 25:41before leaving the cofound double zero.
- 25:43But Solana, the blocks are
- 25:46about four hundred milliseconds.
- 25:47And when a block is produced,
- 25:50it then has to be broadcasted out as
- 25:53quickly as possible
- 25:54to the other 2,000 validators
- 25:56all over the world
- 25:58to be voted on. Because just because I
- 26:00built a block doesn't mean that all the
- 26:02transactions I put in are valid. Everyone else
- 26:05has to verify that the work I did
- 26:07is correct, and then they have to send
- 26:09back basically a vote that says, I sign
- 26:11it with my private key.
- 26:13I agree that this is a valid block.
- 26:15And that's kind of how block production happens,
- 26:19where we have to get you know, it's
- 26:21not a ton of data, but we have
- 26:22to get it around to 2,000 nodes in
- 26:25the world as quickly as possible so they
- 26:28can vote on it. And one of the
- 26:29interesting properties of Solana is it has no
- 26:31pauses between blocks.
- 26:33So it's not like four hundred milliseconds. We
- 26:36wait for everyone to agree.
- 26:37Another four hundred millisecond block happens. It's producing
- 26:41blocks basically in a stream. And that leader
- 26:44the the the person producing the block
- 26:47rotates every one point two seconds.
- 26:50So it might be being built in New
- 26:51York, and then it goes to, you know,
- 26:53Chicago, and then it's over in Singapore, and
- 26:55then it's back in New York, and then
- 26:56it's over in Frankfurt.
- 26:57And so you kind of have this crazy
- 26:59problem where there's a ton of data streaming
- 27:02out in real time. It has to get
- 27:03to everywhere else, basically, in the world where
- 27:06people are running these nodes.
- 27:08And then
- 27:09the leader's moving. So you then have to
- 27:11get data blasted out from there to everywhere
- 27:13in the world, and then the leader moves
- 27:15again. And so you have this, like, crazy
- 27:17system.
- 27:18At the same time, people are trying to
- 27:19send transactions.
- 27:21And the people who are trying to send
- 27:22transactions
- 27:23are trying to rush their data to that
- 27:26leader
- 27:27for possible inclusion in the block, but the
- 27:29leader moves around. Right? So sometimes it's like,
- 27:32oh, I'm just gonna send my transaction now,
- 27:35but I know the leader is gonna rotate
- 27:38in three hundred milliseconds, and it's gonna probably
- 27:41take me two hundred and fifty milliseconds to
- 27:43get to the current leader anyway. So I'm
- 27:45just gonna wait and send it to the
- 27:46next leader.
- 27:48And so it's a kind of a crazy
- 27:49world of and this is all done on
- 27:51the public Internet. Right? So we're doing these
- 27:54things, like, call basically building giant Merkle trees
- 27:56for state distribution. This is called Turbine. That's
- 27:58the the software package that does this on
- 28:01Solana.
- 28:02And, you know, it's sort of crazy if
- 28:04you if you think about it because any
- 28:05network engineer would be like, this sounds like
- 28:08a great application for multicast.
- 28:10That's what I was just thinking. A 100%.
- 28:12But you
- 28:13do it because you can't run multicast across
- 28:15the public Internet.
- 28:17Yeah.
- 28:18But you could run any cast. And I
- 28:20would think this is also that any cast
- 28:22is another possible solution. I always send my
- 28:25block to this IP address.
- 28:27Although, you know and then that IP address
- 28:29can change, or there are DNS solutions for
- 28:31this that are the location of the of
- 28:34that IP address can change.
- 28:35Of course, that only works as a suite
- 28:37of routing.
- 28:38Yes. But the problem is all those solutions
- 28:40require trusting an external third party dependency. Right?
- 28:44So DNS is not, like,
- 28:48strictly speaking, secure or decentralized. Right? It it
- 28:52is it is it is still a centralized
- 28:54operation. And there there have been many cases
- 28:57before where a government tells a DNS provider,
- 28:59hey. Block these records. And they do.
- 29:02Right? And so with crypto, because it kind
- 29:04of has these libertarian origins and these sort
- 29:06of, like, verify everything, trust nothing kind of
- 29:09ethos to it,
- 29:11those aren't really acceptable
- 29:13solutions for it.
- 29:15So the so on Solana and most other
- 29:17networks, they they basically have a protocol that
- 29:19has some sort of gossip,
- 29:21which is where every every validator is basically
- 29:23posting updates to say, like, hey. I'm I'm
- 29:25moving IP addresses or, you know, still online.
- 29:29You know, those sorts of things. And so,
- 29:31it's much more similar from a networking standpoint
- 29:34to something like BitTorrent,
- 29:36except we're trying to run BitTorrent at four
- 29:38hundred millisecond blocks at 10,000 transactions per second.
- 29:43Very interesting. So
- 29:45it sounds to me like this would be
- 29:49better able to run over
- 29:52a
- 29:54stick over a network. That's not stochastic. That
- 29:56is
- 29:57more time division multiplexing, like RDMA
- 30:00or something like that. But you're running it
- 30:02over the global Internet, which, of course, is
- 30:04stochastic. Like, you can't you you have no
- 30:07guarantees in the global Internet.
- 30:09Yeah. It's actually it's it's very funny because
- 30:11Anatoly was one of the cofounders of of
- 30:13Solana. He worked at Qualcomm for something like
- 30:16a decade before
- 30:17founding Solana. And his original vision for the
- 30:20thing was, like, how do we bring CDMA,
- 30:23basically to blockchain? And this is this is
- 30:25sort of the idea of proof of history,
- 30:27which is like a
- 30:29a a system that
- 30:30has, like, time stamping on data as it
- 30:33moves through the system.
- 30:34And it's kind of it's this very interesting
- 30:36idea where there's a lot of stuff that,
- 30:38like, from, like, the early Internet and early
- 30:41compute days that actually is really applicable to
- 30:44blockchain.
- 30:46And, you know, it's it's funny because you
- 30:47mentioned, like, oh, wouldn't this be faster if
- 30:49this would run over some other type of
- 30:50system? Well,
- 30:53this is sort of what we've been working
- 30:54on at double zero for the last year
- 30:56or so. Right? And it's the idea of,
- 30:58like, could we build
- 31:00a high performance private
- 31:02WAN that is run by multiple parties
- 31:05and has verified
- 31:06characteristics of networking built into it? Could we
- 31:09basically build
- 31:10a high frequency trading firm grade fiber network,
- 31:14but have it be run by 10 or
- 31:1615 or 20 independent parties
- 31:20resistance, and it has these type of guarantees
- 31:23that you'd expect from the public Internet.
- 31:27Yeah. Interesting. Which which the answer to that,
- 31:29by the way, would be yes. But it's
- 31:30gonna you have to be really clever to
- 31:32do it. There's a there's there are ways
- 31:34of
- 31:35now another thing that I'm always curious about.
- 31:37So when we go back to resourcing and
- 31:39we think about what how we're trying to
- 31:41solve some of the resourcing problems, so the
- 31:43first thing is we're doing proof of stake
- 31:45rather than proof of of work.
- 31:47Now this increases the amount of network traffic,
- 31:49but it decreases
- 31:51the water and power and all those physical
- 31:53resources, server resources.
- 31:55So that's basically the target
- 31:58in some way is to reduce those things.
- 32:00Like, there's this story about some company going
- 32:03to a small town and building a data
- 32:04center. And now all their bathtubs look horrible
- 32:08because all the water is now hard and,
- 32:10like, they can't get good water anymore because
- 32:12the data center just consumes
- 32:14so much water that they're always at the
- 32:17dregs of all their tanks. Like, it's all
- 32:19the rusted water that's been sitting out there
- 32:22for years and years and years that they're
- 32:25using. So that's that's an interesting,
- 32:27perspective of this, but, again, with higher networking
- 32:30requirements. Right? Is that kind of the trade
- 32:32off
- 32:33that we're getting into?
- 32:35Yeah. You know, the
- 32:37for for a while, there was a very
- 32:39legitimate critique
- 32:40of crypto that it was using a ton
- 32:42of power to, you know,
- 32:45just generate financial value. It wasn't doing anything
- 32:48else.
- 32:49And at this point, you know, the the
- 32:51carbon footprint and the energy load of modern
- 32:54blockchain systems
- 32:55is at par or less than your typical
- 32:57web two system out there, which is not
- 33:00to say it's nothing. Right? Obviously, we we
- 33:02you know, Spotify and
- 33:04Zoom and stuff still
- 33:06require a ton of electricity and a ton
- 33:08of water to use just simply because,
- 33:11no, you know, electricity
- 33:13is
- 33:13largely still not nuclear today or renewables.
- 33:17But the one of the nice things about
- 33:18this is it brings, like, the crypto energy
- 33:22problem into the same bucket of problems as
- 33:24any other computer system. It's it's not sort
- 33:26of out there on its own anymore except
- 33:29in the case of Bitcoin.
- 33:31And so the nice thing is is that
- 33:32you see the same characteristics
- 33:34that you see everywhere else, which is that
- 33:36people like their money, and they wanna send
- 33:38less of it on bills, like server bills.
- 33:41And so you see people voluntarily
- 33:43moving to areas where data centers have lower
- 33:45cost of power
- 33:46or, you know, for any other number of
- 33:48reasons, the the cost to actually run the
- 33:50data center is less. And so, you know,
- 33:53at some point, this is a problem that
- 33:55sort of capitalism does a pretty okay job
- 33:58at solving
- 34:00marginal cost. And so,
- 34:01you know, the most expensive single quantity
- 34:05of cost in a data center is the
- 34:08power and cooling bill.
- 34:10Right? It's it's the water bill and it's
- 34:11the electric bill. And so
- 34:13everyone is working to reduce those things,
- 34:16not just because they care about the planet,
- 34:18but because they care about their bottom line.
- 34:22Interesting. Yeah. Yeah.
- 34:24Okay. So I guess another question couple of
- 34:27courses I have are more on the crypto
- 34:28side, perhaps, which are things like Sure.
- 34:31How do you prevent Byzantine attacks
- 34:34against this kind of a system? Because that
- 34:36would seem to me to be a major
- 34:37problem,
- 34:39unless it's just that it's a shared pool.
- 34:41It's like No. No. Exactly. So so
- 34:44Byzantine fault tolerance is one of, like, the
- 34:46core characteristics
- 34:48of of block And so there's a ton
- 34:50of work on what's basically called consensus mechanism
- 34:53design.
- 34:54How does the network
- 34:56establish enough confidence to agree that it's it's
- 35:00gotten to the point where it can move
- 35:01on to doing the next thing? And so
- 35:03there's many different algorithms, and there's many different
- 35:06protocols out there for how consensus actually works.
- 35:10And they're optimized
- 35:11for different types of things. So some of
- 35:13them, they're optimized for assuming,
- 35:15like, if most people are good actors, how
- 35:18fast can we run the system? Right? That
- 35:20that's sort of an optimistic system that says,
- 35:22we still do all these checks and balances
- 35:24and these sorts of things. But if we
- 35:25assume that at any given point, very few
- 35:28people are intentionally misbehaving, we can just run
- 35:30the system a lot quicker. There's also systems
- 35:33that say, you know, above all else, we
- 35:35wanna make sure is that we have a
- 35:37100% certainty
- 35:38before we move on to anything else. And
- 35:40those systems usually run more slowly.
- 35:43So Solana, for example, is a good is
- 35:45a good example of this. Right now, there's
- 35:47something called confirmation versus finality.
- 35:50And finality is, like, full Byzantine fault tolerance.
- 35:54This will never like, there is a 0%
- 35:56chance this thing can ever get rewound
- 35:59unless, of course, everyone agrees to undo it,
- 36:01which is, like, you know,
- 36:03a problem you can't solve with code.
- 36:06But the confirmation times are, you know, four
- 36:08hundred milliseconds or less.
- 36:10But it takes a while to get basically
- 36:13all enough votes in that the thing is
- 36:15considered fully settled. So Solana right now is
- 36:18going through an
- 36:19consensus
- 36:20mall,
- 36:21on something called AlpenGlow.
- 36:23And AlpinGlow is gonna bring that time to
- 36:26finality down from twelve seconds to anywhere between
- 36:29one and a half seconds and a hundred
- 36:31and fifty milliseconds.
- 36:33So this is kind of like as we
- 36:35look at the the problems of scaling blockchain
- 36:38for
- 36:39pretty much the first ten years of blockchain,
- 36:42it was all software problems. It was that
- 36:44the software code wasn't good enough. People hadn't
- 36:46come up with smart enough consensus algorithms.
- 36:49It wasn't that it was limited by the
- 36:50power of the hardware because there's a lot
- 36:52of money crypto now. Right? You you can
- 36:54buy just as powerful servers to run stuff
- 36:56as you can in any industry.
- 36:58It was the software was not, like,
- 37:01fast enough and built in a way that
- 37:02it could be performance enough. And now that
- 37:05it's no longer a software problem, like, that's
- 37:07that's where we come in at double zero.
- 37:09Awesome. Cool.
- 37:10Alright. Well, I can't think of much else
- 37:13to cover on this topic, so I'll
- 37:15let you is there anything in Austin that
- 37:17you'd like to talk about before we wrap
- 37:19up?
- 37:21I would say that there's, like for anyone
- 37:23who's interested in this space,
- 37:25there's kind of greenfield opportunity here.
- 37:28You know, networking has not historically been a
- 37:31particularly big part of blockchain. It has sort
- 37:34of always operated in this kind of, like,
- 37:35magical magical thinking land
- 37:37of, like, oh, there's infinite bandwidth. Latency doesn't
- 37:39matter. Like, there's infinite compute because it's a
- 37:42bunch of software people building stuff. It's not
- 37:45hardware people or networking people building stuff.
- 37:48But
- 37:49things are really, like, starting to change, I
- 37:51would say. Like, you know, what I would
- 37:53you know, of our engineering team, 90% of
- 37:55them are network engineers.
- 37:57Like, only, you know, a small percentage of
- 37:59them actually, like, come from crypto originally.
- 38:02And we're seeing this across more and more
- 38:04protocols,
- 38:05is that the the folks who are
- 38:07able to make some of the most impacts
- 38:09now, they're not cryptographers. They're not people who
- 38:11are writing smart contracts or or programming languages.
- 38:14They're actually on the networking stack And people
- 38:16who can think smartly about data flow and
- 38:18how it moves through both the hardware and
- 38:20software system,
- 38:22those are the folks that nowadays are making
- 38:23some of the largest contributions
- 38:25to to crypto.
- 38:26Cool. So, Tom, any other questions? Any other
- 38:29thoughts before we wrap up?
- 38:32No. No. It's been great.
- 38:33So, Tom, where can people get in touch
- 38:35with you if they want to?
- 38:37They can find me on LinkedIn. He actually
- 38:39said a whole sentence and not just a
- 38:40single word. Yeah. I'm I'm amazed.
- 38:44So, Austin, I assume you blog or you
- 38:46have regular stuff that you do?
- 38:49Working people We do. Yeah.
- 38:51Double 0 dot xyz.
- 38:53You can see all of our our our
- 38:55blogs and write ups and kind of read
- 38:57our our white paper there and follow along.
- 38:59There's a link to our GitHub as well,
- 39:01and we're pretty active on Twitter as well.
- 39:03Cool. Alright. I'm Russ White. You can always
- 39:05find me here at the hedge at rule
- 39:06eleven dot tech.
- 39:09X slash Twitter, whatever. I'm really easy to
- 39:11find. Just look for me. I'm around some
- 39:13place or another.
- 39:15So
- 39:16we know that we live in an attention
- 39:18driven economy
- 39:19and that your time and your attention are
- 39:21valuable resources, and we're happy you spent this
- 39:25time with us talking about blockchain and blockchain
- 39:28scaling and the new ways that we're looking
- 39:31at blockchain.
- 39:32Thank you for listening all the way to
- 39:34the bitter end, and we will
- 39:42catch
- 39:47you next