We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [devp2p]

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

Filter by
Sorted by
Tagged with
1
vote
2answers
42 views

How to post to the blockchain without a third party API like infura

I have been using web3 nodejs and infura.io to build apps that interact w/ the Ethereum Blockchain and it is all great but I don't like the idea of a failure point my my apps because they rely on a ...
1
vote
0answers
24 views

RLPx - Capability Messaging

I am currently having a look into the RLPx protocol and trying to understand on how two nodes exchange their capabilities. Each subprotocol has a number of defined messages. eth has 12 messages (ids ...
4
votes
1answer
112 views

LibP2P v DevP2P

Why is are new projects (ETH 2.0, Polkadot (Substrate) ) favouring Libp2p over DevP2P? I have seen this answer, but it doesnt really drawn strict comparisons. What is the distinction between libp2p, ...
0
votes
1answer
71 views

What is the different between P2P server and Node?

I checked go-ethereum code and I see 2 files: /go-ethereum/p2p/server.go: type Server struct { // Config fields may not be modified while the server is running. Config // Hooks for ...
1
vote
1answer
123 views

What happens to a transaction after you clicked 'send' in Ethereum network?[Transaction life cycle at the EVM and P2P networking level]?

Ref: What happens when you type in an URL in the browser So in a web browser, it's kinda easy to reason the life cycle of an HTTP request, how it moves down the network stack, reach the server, get ...
2
votes
1answer
177 views

geth inter-node communication (devp2p/rlpx) encryption

I am currently analysing the encryption mechanisms used in geth. Currently I have gathered the following information from the source code (https://github.com/ethereum/go-ethereum/blob/master/p2p/rlpx....
3
votes
0answers
186 views

Relationship between TCP, RLPx transport protocol and subprotocol packet

I'm currently trying to understand the structure of the rlpx transport protocol messages, so I depicted these scheme, based on my understanding of the description of the single frame packet at this ...
2
votes
2answers
95 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?
4
votes
1answer
202 views

DEVp2p Wire Protocol tutorial on geth or Web3.js/Web3.py

I was looking to develop an application using ÐΞVp2p Wire Protocol and I'm having trouble finding an example or tutorial. I was able to find only ÐΞVp2p Wire Protocol's wiki. [Q] Does anybody has a ...
3
votes
0answers
79 views

Why aren't bootnodes responding to my ping?

I have impemented custom Ethereum node and I've been trying to ping bootnodes, but sometime in the past three months they stopped responding to me. The specific bootnode I've been trying to ping is ...
14
votes
1answer
6k views

How many transactions per second can Ethereum currently handle? What changes will allow the network to be able to handle more? [duplicate]

I've been searching for a more precise answer to this question, but I've seen a lot of conflicting information stating that Ethereum can currently handle anywhere from 12-45 transactions per second. ...
7
votes
2answers
242 views

How does reputation work in the Ethereum P2P network?

Nodes in the Ethereum P2P network assign their peers reputation in order to keep track of how well they behaved in the past and evaluate whether it would be preferable to disconnect from them. What ...
0
votes
1answer
357 views

RLPx Handshake vs DevP2P Hello Message

I'm trying to understand the algorithms underlying the ethereum overlay network and how do the peers communicate between each other. By looking around I arrived finally to the RLPx and devp2p ...
3
votes
2answers
202 views

devp2p protocol: support for data compression?

I am just wondering if the devp2p protocol, which is used for node to node communication, has support for data compression? I am asking this, because it could be useful for faster block propagation ...
2
votes
0answers
341 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 ...
0
votes
1answer
76 views

How does it the geth ethereum platform to automatically connect to the nodes that are in the main network of Ethereum?

I have tried to make connection between several nodes in my private network, but I do it with a enode direction, but Ethereum network does it without knowing my enode, I want to know what kind of p2p ...
6
votes
1answer
419 views

Ethereum network messaging

I am trying to "join the dots" around the networking aspect of Ethereum. From the documents, it seems, the underlying protocol is RLPx that powers the ÐΞVp2p Wire Protocol. Though TCP provides a ...
0
votes
1answer
361 views

Is Geth nodiscovery mode redundant behind a firewall without port forwarding

I'm trying to understand the peer discovery process, especially for a private network with majority of the nodes having dynamic IP addresses and behind typical wifi router firewall. If I run a Geth ...
3
votes
0answers
35 views

DEVP2P character encoding - please clarify 'ASCII'

Please can someone clarify if DEVP2P wire protocol specifies byte-sized 7 bit encoding when it refers to 'ASCII'? i.e. 3 bytes
0
votes
1answer
68 views

What is rpc and p2p code for Ethereum token? What to give as GitHub source code of an Ethereum token in exchange?

I’m new to Ethereum development. From ethereum token docs I came to know the process of deploying the token. But at some exchanges they ask for RPC and P2P port as well as the github source of the ...
1
vote
0answers
284 views

Why nodes are not discovering each other in my private network?

I have created a private network with my own Genesis file. My private network has totally 4 systems(1 bootnode and other 3 are nodes). I am running the bootnode in v4 using these two commands. ...
4
votes
1answer
256 views

How whisper messages being routed in Ethereum Network?

Does the Whisper messages are broadcasted to all Ethereum nodes? or is there any internal routing, if yes how?
0
votes
1answer
200 views

How does a program determine if the peer node is a bootnode or full node?

Looking at the DEVp2p protocol, I see that a peer can return info on capabilities ETH or SHH . I do not see in the protocol docs what those mean. How does a client discover if the peer is only ...
6
votes
2answers
2k 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 ...
2
votes
2answers
277 views

Classification of the information flows and protocols within the Ethereum platform

I've been attempting to classify the information flows and protocols within the Ethereum system. To do this, I extended the OSI model to include 4 extra layers: consensus (the algorithm by which ...
6
votes
1answer
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? ...
26
votes
2answers
5k 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 ...
2
votes
1answer
2k views

What geth command options have been depreciated/removed?

I'm looking at this tutorial. It includes this line: geth --genesis %PATH%/Ethereum/testnet/genesisblock.json --datadir %SAME_PATH%/Ethereum/stateinfo --networkid 1234 --nodiscover console As I ...
8
votes
1answer
1k 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 ...
4
votes
1answer
541 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, ...
18
votes
2answers
6k 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?
5
votes
1answer
345 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 ...
6
votes
1answer
678 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....
5
votes
1answer
542 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 ...