Get the Monday email →
Loading player…

P2P Networking Hub - Guided Tour of Ethereum's Networking Layer

DevconThu, Nov 5, 2026, 12:00 AM

Speaker

Yiannis Psaras

Transcript

Uh so, my name is Yiannis. I represent several organizing teams of the peer-to-peer networking hub. And we are now going to go through what is actually peer-to-peer networking, what do you expect to see there, and what the days the following days will look like at the peer-to-peer community hub. Um So, how do we connect? Do I just press slideshow?

Let's see. Yes. In the meantime, as we set up, I'd like to remind the audience everyone we use the Meerkat application, which you can find by the Q&A QR codes on the side of the screen. If you have any questions to ask the speaker during the session or at the end, we'll select them, and you can also upvote them if you'd like to see them answered. So.

Thank you, and enjoy the conversation.

Um thank you. Thanks for being patient. So, we're going to talk about the peer-to-peer community hub. He's going to be talking about what is below the chain. I'm pretty sure many of you have experienced what it looks like to make a transaction on the Ethereum network, what it looks like to have metrics on for on-chain things, but this is not what we're going to be looking at at the P2P layer.

The P2P layer sits below the chain and is the layer of the network that gets the transaction from your computer, from your phone, and propagates it to the network so that the transaction is actually executed. And there there is a whole bit of kind of science and protocol work that goes in there, which people very often don't see. So, this is what we're going to be talking about. My name is Isidoros Lykourgos. I represent the problem team, which is a team that is monitoring the P2P network and has got metrics about several of the critical path parts of what's happening, as we said, below the chain when the the transaction and the block is propagated in the network.

Um Um I represent also the rest of the organizing teams of the P2P community hub, which is the Ethereum Foundation, Hopper, Gnosis VPN, and Optimum. So, lots of interesting conversations to be had, but first of all, let's see very briefly who is in the room and perhaps what is your involvement in the P2P layer. So, kind of by show of hands, who here runs an Ethereum node? Uh validator node or otherwise? Okay, a few hands.

Um who has played before with some peer-to-peer networking stack like libp2p, IPFS, Ethereum, of course, the P2P? Okay, more hands. Uh or you've never thought about how a block is being propagated and you kind of don't care about it. Okay, zero hands. Oh, yeah, one hand.

Good. Um So, a brief a brief note of how things are are happening. So, you might have heard that a new block is is being produced every 12 seconds. These 12 seconds is a period that the network needs in order to do a few things, and it starts with the four first 4 seconds out of these 12 where the validators need to see and vote on the block. During this time, there is zero central servers.

That's why it is a peer-to-peer network, which means that every node is equal to others. It needs to receive the block and then propagate it further. There is no data center in the middle. At least of course there are nodes that run in data centers, and we kind of monitor these, and we know like what percentage of the network is running on data center cloud infrastructure. But otherwise, nodes run for themselves.

They have their own operators. They travel like all the blocks, the votes, and the blocks are traveling peer-to-peer, and yeah, have to reach everyone in the network in order for the chain to to to progress. This is different to the client-server model that most, if not all of the other applications that you have been using, are built on. In a client-server model, you have the server that is doing something, serving a website, serving an e-shop, or streaming music, or a movie. And your node is sitting somewhere in this venue, or at home, or on your mobile device while you travel, and content is shipped from the server to your node.

The peer-to-peer model is a little different. Perhaps, you know, the representation there is not the the best, but what it tries to say is that you have different nodes, each one of the of which is equal to others and can serve the content itself. It doesn't need to to have a central presence somewhere in a cloud environment or data center. The node is what is Every node is doing both receiving content and sending content. So, what are the benefits of doing things in a peer-to-peer way?

First of all, there is no single point of failure like in this previous slide. If that node there goes out, if it loses connectivity or there is a power outage, then basically it cannot serve you. We've seen even with big massive data centers recently that there are outages, although they are so well connected and so well They have lots of resources. In in a peer-to-peer network, if a node fails, then there are other nodes to kind of cover up. It can scale with users.

Okay, this is with an asterisk. It cannot scale indefinitely, but the more users you put in there, the more nodes you have, the more the replication that can happen depending on how you administer the protocols underneath. It's permissionless in most cases. At least, you know, in in Ethereum and other blockchains and peer-to-peer networks, so you don't have to ask anyone to join. You just set up your node and and go and participate in the network, which is quite different to, you know, if you want to to do anything basically in other in other applications and kind of uses the edge as compared to the core of the network because you can have a node at home.

You don't need to be located in a very centrally over provisions data center. You can use your own home connection and at least be a home staker for Ethereum. Uh but also other um other peer-to-peer applications. Uh of course, you know, there like in saying all of the benefits of peer-to-peer, there are some down well downsides. There are some challenges as well.

Um having a node at home means that if your electricity provider decides that it's a good time to, you know, do some maintenance work and you uh out of electricity, then your node goes out, which is what we call churn. Um it's also limited in terms of it can be limited in terms of resources. So, uh the network can be as fast as the network's kind of slowest link, so to speak, uh because, you know, uh everything needs to propagate to everyone in the network all the blocks and transactions, as we said. So, if a link is very slow, then that slows down, you know, the propagation and the um progression of the chain. Um There is no in most cases and applications, there is no authentication.

So, uh this is a problem because it can like allow some surface to have uh Sybil attacks. So, you can um pretend to be someone else. And in that case, of course, security uh kind of suffers, and we need to have the right techniques in place in order to avoid this from happening. Um privacy, like you can see your own traffic, but this like being connected peer-to-peer means that you're also sending traffic to other peers. You are the server as well.

So, other peers can see you and the traffic that you're sending. Not necessarily, not always. Again, it depends on the protocol uh setup and protocol configuration, but um it has to be done with care because you're more exposed given you play a more active role in the network as a peer. Um it it can be unreliable as we said. Uh you know, a home connection can go down because electricity went down or your ISP just went down.

Uh it's not like massive data centers where you can have multi-home things and have several different connections. Um NATs, uh for those of you that have um heard about the term network address translation boxes, which is what um provides quite a bit of security for our personal data and computers at home, but also makes it difficult to um connect to others in the network and have others connect to us basically, like have an incoming connection from the outside world into our um home computer at home. Uh which of course makes it difficult for home stakers, for example. Um so, um peer-to-peer as a networking technology has got quite a long history. Uh basically, I mean, it was mentioned in some uh talks yesterday or today.

Um the the internet itself was peer-to-peer once. Um then it wasn't anymore and there's a an interesting history about this about why this happened. If you're interested, you can come to the hub and we can have a a discussion around it. Um but basically, like from more well-known applications, there was Napster somewhere in the '90s, late'90s, which was file sharing. Several other um versions of it with BitTorrent being the most uh well-known one.

Uh Kademlia is a DHT structure that is very widely used and very efficient. It is being used by Ethereum and uh several other networking protocols such as libp2p, also used by Ethereum. Um Um Bitcoin was Yeah, we all know what Bitcoin is. It's a peer-to-peer uh system as well, Uh built on like you know, computers connecting in a peer-to-peer fashion. Then there was IPFS and Ethereum in 2015, which many of the audience I guess is familiar with.

And you know, has sparked a bit of what Web3 actually is. Then okay, Ethereum went on to be you know, the beacon chain and then peer does which I'm pretty sure you've heard about. Very much relies on like having a sound and technically correct peer-to-peer network. So all that to say that there's quite a bit of history. What happens like in the network in a peer-to-peer network which is different to the client-server model is that you have to find things which makes it more difficult because you don't just go to one server and ask, can I have this web page or something?

You have to ask everyone in the network in a sense. At the same time you can't ask everyone in the network because that's not very efficient. So there needs to be sophisticated protocol about how you can find things in the network either other peers or content if that's what you're after. You can spread you have to spread new information. So as we said, the block the transaction has to spread in the network so that others validate it and and vote on it and do all the other things.

And then you have to fetch data from the network, perhaps data you missed. And for all of that there are different protocols like I said, to find peers you use like a DHT structure, a distributed hash table structure is is very efficient. If you want to spread information, pub sub protocols are very efficient. Ethereum is using the libp2p gossip sub protocol which we're going to cover quite extensively in the hub. And then for fetching you can have several different protocols like a request response or something that like bit swap which is what IPFS is using.

On the Ethereum world you have two layers, the consensus layer and the execution layer. So every node in the network needs to run two clients, one for each, one for the consensus layer and one of for the execution layer and basically you have two networks. This sounds a little more complicated than it actually is although it adds, you know, complexity to natively to to a node is doing. And there are several different protocols used. There is devp2p which was initially there when like in the beginning of Ethereum with this discovery version four and five.

Then at the consensus layer you have again discovery V5 but you also have gossip sub and other libp2p based protocols. So several like advances in in Ethereum make things even more challenging. So bigger blocks add quite a bit of like more bytes to be transferred to be to be transferred by nodes in the network. More blobs like periodas and and all of that. There was a big discussion about what all of this is and if like the nodes especially home stakers are going to be able to to transfer this data efficiently.

Shorter slots make you know, like these 12 seconds that we said in the beginning and the four seconds make tighten things up so nodes need to be faster and of course privacy is a thing that everyone wants but you know, a good a good discussion item for the hub which we're going to have a talk about is are they actually anonymous? Um so the hub is kind of shaped by people who show up, meaning that um is not a set um list of talks and and and workshops. We can improvise. We want to be as um um kind of helpful and valuable to the community. So show up and come with questions or things that you want to investigate.

Uh there are There is an interesting There is a very um a very a very nice lineup of speakers already, but of course, you know, addressing community feedback is going to be uh is what hubs are here for. Um so yeah, if you want to learn uh about how nodes find find each other, how a block propagates, how blobs uh and data are being being made available in the network, uh or simply how a peer-to-peer application is built, then um yeah, come along and uh we're going to address many of these. Um also think about what problem you have run into um in at the peer-to-peer layer if you if you have had one, and come along because there are going to be a lot of experts in the room to um try and address your problem or or help you overcome it or not have it the next time around. Um as I said, there are talks, there are roundtables, there are hands-on sessions, uh but there's also hallway time and and people there to answer questions and um um yeah, make it as valuable as possible for you. Um as I said, the organizing partners are uh Ethereum Foundation, Sigma Prime is um uh participating, Gnosis VPN or Hopper, Optimum, Mega Labs, um and ProbLab and the Moi Protocol.

Um generally the hub is going to be of course staffed from like uh every day. There are 14 days. Um the first one, which is today in the afternoon starting after lunch, uh, is about foundations and discovery. We're going to have quite a few, um, dashboards showing up, um, for, uh, from chain scope, from from Shabba, um, mempool discussions. Then Mega Labs are going to show their own, uh, metrics for for the network.

So, uh, this is going to complete the day mostly. Then scaling and broadcast, um, what like, uh, the challenge What are the upcoming challenges for Ethereum's peer-to-peer network? Um, what do bigger blocks mean? What quick slots mean? Um, where do we stand with regard to, uh, post quantum and what does this mean for the network layer?

Uh, Woggle is a new protocol that, uh, is being developed, um, and, uh, yeah, and then what do you send a peer when the pieces are coded? It's like network coding. If you If you've heard anything about that, um, yeah, how do we make the thing faster? Uh, day three on privacy, resilience, and open problems. We're going to talk about libp2p's gossip sub and improvement proposals there.

Uh, validator's privacy, which is, um, what we, um, briefly mentioned in one of the previous slides. We're going to present Sona, um, a tool that is very useful. It's developed by our team Probelab and it's very useful if you want to find out how other nodes see your node from a network perspective, like, uh, if it's visible, uh, and everything else. Uh, but we're also going to have an open problems round table. Um, day four, uh, it's going to be, um, um, primarily dominated by Hopr and the Gnosis VPN.

So, if you're into VPNs, using VPNs, or want to learn more about it, including having a hands-on workshop, um, then this is the day to be there. Um, yeah, and with that uh I would like to get any question and welcome you to the hub. Thank you.

Are we Are we displaying the code? If you have any questions, please use the QR code next to the screens and the Q&A uh code you can see there. And we have several coming in. Um There's one Yeah, there's one the one I just uh selected how you talked about dark matter and how does it affect it. And there was another question which I don't see right now um that was about the EF experiments with running nodes over Tor.

I don't know if it's related, so perhaps you could also share some insights on that.

Can Can you repeat the the question that was not here? The

There was a question also about uh running uh Ethereum Ethereum nodes over Tor. There was at Devconnect, there was an announcement that EF would start researching into that um and I was wondering if it's related to this question perhaps as well, but uh

Yeah.

Um yeah, so we haven't seen too many nodes running uh behind Tor for the Ethereum network. Uh we have seen for other networks, so I think um I'm pretty sure it happens um or some people have tried it, but it's not a large population of nodes um so far. Uh so how uh the question is how peer-to-peer network is utilizing that dark matter you mentioned. Can you explain that a little bit? Um so by dark matter uh there I meant primarily the the edge of the network.

So the dark matter could be, you know, my laptop that is sitting at home or in the office. It's not supposed to be produ- providing and contributing resources to the network. It's not like, you know, the big Google Cloud or AWS data center. Uh but if you do things peer-to-peer, then inevitably what is happening is that I contribute my resources through my laptop to the network. So that's a metaphor kind of the the dark matter Um and the peer-to-peer network is actually utilizing that.

Um I don't know if that answers the question, but happy to um discuss more. And then the second question is um a Q Bastion, okay, I don't know that, a post-quantum secure messaging application. How can we integrate peer-to-peer networking while ensuring privacy, offline messaging, and reliability? Uh it's a it's a tricky set of uh things that you would have to do. I would be more than happy to chat with you if you can find if you can find me at the hub.

Um basically the peer-to-peer layer, the networking layer is uh composed of a number of protocols. It's not really just one single protocol that is being used. So, you have to do the right configuration in order to ensure that you have, you know, performance your the performance is good because it's a chatting application. You don't want people to be you know, messages to be delayed, so to speak. Uh so, you want it to be performant and that's a specific set of protocols you have to use.

Uh privacy, you have to do specific things to avoid saying, you know, that my device have sent this message to this other device. So, it has to be kind of masqueraded in a specific way and there are techniques about these. Um the most tricky part is actually how do you do the configuration? Um offline messaging, yeah, again, that is even more tricky, but there are, you know, Bluetooth-like techniques where you can um you can propagate messages, of course, locally, right? So, if we're if there is no outside connection to the outside world, then our devices might be able to communicate in the venue when we're close to each other, but we won't be able to communicate outside of these.

Uh I guess that's what you mean by offline messaging. Um yeah, and reliability again is a is a tough thing for peer-to-peer networks because nodes might go offline all the time. So, you need to have, again, the right configuration to have backup um nodes to propagate messages. Um What are the most imminent scaling wins you're expecting you're excited about for Ethereum? So, I think the the scaling needs so bigger blocks and tighter slots, like shorter slots, is what is going to kind of put more stress in the network, and we'll have to see how we can, how we can accommodate that in the, at the peer-to-peer layer, using gossip sub or like enhanced versions of of gossip sub.

Uh, that's one thing that I'm very interested in as well as making some of these adding anonymity. So, there are techniques being um talked about and trying like being developed so that there is more anonymity at that layer. That's also something that I would like to see happening.

Thank you. There are no further questions. Unless there is some

Automatic transcript — names and jargon may be misspelled.