1 sat \ 7 replies \ @kr 22 Jan 2023 \ on: What is Layer 3? bitcoin
i get the idea of building on bitcoin in layers, but i don’t understand why we call them layer 1, 2, and 3.
this naming system gives newcomers no clues as to how the bitcoin ecosystem actually works.
sometimes people call lightning a payments layer and the base blockchain a settlement layer which makes sense to me, are there any useful terms for describing the activity that happens on layer 3?
The highest "layer" built on Bitcoin will be defined as the "application" layer. However, whether it ends up being the 3rd, 4th, or 5th layer etc. is still TBD. All layers sitting below the application layer will be defined as infrastructure layers. This is similar to the current internet stack, which consists of a link layer, a network layer, a transport layer and followed by an application layer (the highest layer).
Prior to Lightning and other 'layer-2s', all that existed was the Bitcoin basechain. At that point in time, the layer-1 blockchain was the application layer, enabling participants to transact with one another. However, the creation of the Lightning network brought another infrastructure layer to Bitcoin, adding additional functionality, beyond just transacting value.
Each incremental infrastructure layer should improve the functionality and potential number of applications that can be built on Bitcoin. Once the the marginal utility from adding infrastucture layers approaches zero, no more layers will be added. At this point, we'll be able to define what the ultimate "application layer" on Bitcoin will be.
Maybe it will be layer 3 or 4, however, there is no reason to think that it couldn't be layer 6, 7 or 8. Only time will tell...
reply
HAHA. I'm sure that OSI will invent at least 7 when it goes fully mainstream. I think you can say that the same logic applies even to internet OSI layers, in that first there was the link (point to point) then there was IP, then TCP, and at first HTTP was an application layer.
Really, whatever is implemented by an application is the application layer. Applications can be built on top of other applications, so the distinction becomes a bit vague.
reply
Agreed, distinction will always be vague.
If we are forced to put structure around it though, I think that framework is reasonable, despite its flaws.
reply
Yeah, it just gets out of date as people keep stacking more things on top of what was previously called "application" as they interop them and the upper layers of the cake get more and more indistinguishable.
I think that really, even TCP/IP, as a network layer, is an application. How can you say that
netcat
is not an application? Or telnet
, both of which sit directly above TCP/IP. Indeed, TCP is on top of IP, in fact, it's an application for reliable message transport. The network itself is an application!Anyhow, la la la la so boring the grandstanding of academics who didn't invent the protocols to make pronouncements about other people's work.
reply
Hosted and fiat channels are good candidates for L3. They provide verifiable proofs although they are custodial.
reply
is layer 2 because in order to enter the Lightning ecosystem you need to acquire bitcoin first to fund a channel. Layer 1 comes before layer 2. if there is a layer that then requires layer 2 like stablecoins then in my opinion thats a layer 3 protocol.
you can't get to the second layer of an onion without removing the first.
reply
Something happening inside LN payment settlement? (up to 15 mins - - hodl invoice)
reply