Skip to main content

Questions tagged [devp2p]

Questions about devp2p, the secure networking suite used by Ethereum.

Filter by
Sorted by
Tagged with
28 votes
2 answers
10k views

What are the peer discovery mechanisms involved in Ethereum?

There are several implementations of Ethereum clients. How do these clients find each other? What are the algorithms and peer-to-peer protocols involved in this peer discovery process?
galahad's user avatar
  • 3,930
14 votes
1 answer
2k views

At any given time, how many nodes is my node connected to? As the number of nodes in the network increases, will communication between them be faster?

I have been reading through the DEVp2p documentation and cannot seem to wrap my head around some aspects of the network. Specifically, how many nodes is my node connected to? Does this number change ...
user avatar
7 votes
1 answer
1k views

What underlying protocols are used to send packets between nodes, and how are messages encrypted?

In Ethereum, when we make transactions, which underlying protocol is used to send the packages over the network? And another question, are those messages are encrypted or not? TCP, UDP, others? All? ...
Önder Gürcan's user avatar
36 votes
3 answers
8k views

What is the distinction between libp2p, devp2p and RLPx?

What is the distinction between libp2p and devp2p? Do they refer to the same thing? How are they related to RLPx? In the libp2p whitepaper, dated Nov 2014, they appear to be the same thing: libp2p ...
Lee's user avatar
  • 8,558
5 votes
1 answer
767 views

How do the protocols used in Ethereum (e.g. Whisper, P2P protocol suite) map onto the OSI model?

It would be useful to have a mapping of all of the protocols involved with the Ethereum implementations on to the OSI model (or equivalent). The protocols might include: Whisper, devP2P, IPC, RPC, ...
Lee's user avatar
  • 8,558
8 votes
1 answer
1k views

How does Ethereum client select which peers to synchronise with?

On start up the discovery protocol uses a Kademlia style approach to find peers. Thus we obtain a local routing table which holds the (IP address, UDP port, and node ID) of some online and alive peers....
JackWinters's user avatar
  • 3,423
6 votes
2 answers
5k views

What's limiting my peer count?

I see on ethstats that some node are connected to 100, or even 500+ peers. I figured I'd try to increase my peer counts, e.g., in the hope of getting blocks and transactions broadcasted more widely ...
Mario M's user avatar
  • 205
5 votes
1 answer
424 views

Differences between RLPx v3 and v4

I'm working on an implementation of a blockchain reader that will be operating in a limited environment; as such, I can't use any of the regular implementations. I'm running into issues with ...
Nicholas Samson's user avatar
5 votes
1 answer
684 views

Why does java Ethereum use UDP? - isn't devp2p TCP only

Looking through the source code for java ethereum I see UDPListener is part of the org.ethereum.net.rlpx.discover package and that this seems to use NioDatagramChannel (Netty's way of handling UDP ...
JackWinters's user avatar
  • 3,423
3 votes
2 answers
391 views

ÐΞVp2p / DApps - why is it in "Ð" not "D"? Any special significance of using Ð?

ÐΞVp2p / DApps - why is it in "Ð" not "D"? Any special significance with using Ð instead of the normal D?
Nathan Aw's user avatar
  • 1,954
3 votes
0 answers
424 views

How to simulate p2p network for blockchain systems?

I am wondering how to build a simulator to simulate P2P network for blockchain such as Bitcoin or Ethereum. Specifcally, how to simulate transaction processing and propogation. Also, the same thing ...
MWH's user avatar
  • 363