Questions tagged [devp2p]
Questions about devp2p, the secure networking suite used by Ethereum.
15
questions with no upvoted or accepted answers
5
votes
0
answers
196
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
...
4
votes
0
answers
391
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 ...
3
votes
0
answers
176
views
How to get node info by 30303 port?
I need to create something like ethernodes.org or etherscan.io/nodetracker. First of all, I tried to implement Discovery Protocol by own, but after couple of minutes I realized that specs are too hard ...
3
votes
0
answers
430
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 ...
3
votes
0
answers
54
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
2
votes
0
answers
40
views
Re-Sync with same enodeId
Is there any benefit or detriment to keeping the same endodeId by maintaining the keystore when performing a fresh sync on an otherwise already in sync node?
By maintaining the endodeId does it ...
1
vote
0
answers
14
views
Where is the code for the ticketing system of DiscV5?
So my understanding from several sources is that discV5 has a ticketing mechanism for security.
I went to the go-ethereum code to inspect the code. I was unable to find it...
The best I could find was ...
1
vote
0
answers
96
views
Ethereum network on TCP vs QUIC protocol (UDP-based) on data transferring
I'm new to the Geth p2p network (devp2p). Devp2p uses both TCP and UDP to run it's networking protocol. The TCP is for the data transferring between each node and the UDP is for nodes discovery. I ...
1
vote
0
answers
66
views
Ethereum peer to peer load balancer
Is there any existing TCP load balancer product that is enode aware?
1
vote
0
answers
91
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 ...
1
vote
0
answers
448
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.
...
0
votes
0
answers
7
views
If ethereum is completely p2p then how do we efficiently discover network-scoped (gloal) info like no of peers in the network?
In order to query an info like the no of peers in the network it would take an order of magnitude of O(n2) where n is the no of peers in the network since each peer would sent the req of no of peers ...
0
votes
0
answers
14
views
Dial bootstrap nodes with devp2p(js)
I'm trying to use devp2p dpt.bootstrap to connect to Ethereum bootstrap nodes
my dpt config is like this:
const dpt = new DPT(PRIVATE_KEY, {
timeout: 10000,
endpoint: {
address: '0.0.0....
0
votes
0
answers
371
views
Node not connecting to static/trusted peers etherum geth [ public network ]
I followed all the steps of adding trusted and static peers:
Manually adding the peers to configuration file config.toml
Using addTrustedPeers and addPeers of the geth console
set the --nodiscover ...
0
votes
0
answers
33
views
Possibility of spoofing miners in Ethereum
Ethereum uses node IDs to identify nodes uniquely and to route traffic between nodes based on the node discovery protocol (https://github.com/ethereum/devp2p/blob/master/discv4.md) built on Kademlia-...