Questions tagged [discovery-protocol]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
17 views

How are UUIDs assigned in ethereum

I am learning about blockchain and P2P in general. I know ethereum uses a distributed hash table for node lookup (kademlia) that maps UUIDs of nodes to their addresses. I am curious about how the ...
1
vote
1answer
26 views

How many nodes does Geth attempt to connect to by default?

Bitcoin Core tries to connect to 8 nodes by default. How many does Geth attempt to connect to for the eth protocol (normal network gossip)? Is there a set number in the first place?
1
vote
1answer
325 views

How to get Nodes on local Geth Private Network to Discover Peers OF THEIR PEERS

I am working on a private blockchain that consists of 4 nodes running on different ports. I am trying to get each node to communicate its connections to its peers, so the network would be fully-...
2
votes
1answer
180 views

Bootnode Discovery with external IPs instead of local ones

I would like to create a private testnet of mining nodes that external light clients can connect to. The caveat is that I'm doing so on Kubernetes (specifically via the excellent helm chart). So I can ...
1
vote
0answers
165 views

Parity: Change port 30304?

If I want to change the discovery port from 30303 to XXXX I do "parity -port XXXX". But what if I want to change 30304/udp? For example, maybe I have many computers NAT behind a firewall. I can do ...
1
vote
1answer
298 views

Discovery Protocol Broadcasting [duplicate]

I set up a private Ethereum network at home using two computers to test smart contracts and I got them to find each other by getting the enode from one and using admin.addPeer in the console of the ...
4
votes
2answers
345 views

How Geth and Parity resolve timestamps when validating block headers?

Geth and Parity nodes differ in a fundamental way when they validate block headers. Background According to the yellow paper 4.3 timestamp: A scalar value equal to the reasonable output of Unix's ...
1
vote
0answers
81 views

Private Blockchain Reserved Nodes Disconnecting

Using Parity I have a private blockchain with 5 reserved nodes specified with --reserved-nodes /path/to/file. After a few days of conectivity, the reserved nodes stop talking to each other. It is ...
1
vote
0answers
87 views

Node connection timeout function?

I am trying multiple avenues to find out why my nodes in a private blockchain are losing connectivity over the course of about 18 hours. So this question is: Is there a part of the discovery ...
1
vote
0answers
28 views

Do nodes lose connectivity if no network activity is happening?

I have a private blockchain that seems to work great, but over 18 hours, the nodes stop talking to each other, no matter how many I start with. So they go from 25/25 connections to 0. Something I ...
1
vote
0answers
34 views

Do peers rotate?

Once you have 25 peers, do you keep those same 25 peers (assuming the machines stay up)? I'm having a problem (discussed other places) that would be more easily explained if part of the peer ...
1
vote
0answers
278 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. ...
2
votes
1answer
123 views

Sharing enodeURLs on a private blockchain

Given a private network in which each computer knows at least one IP address where there is a geth, parity or pyEth node/peer, what is a good way of sharing enode IDs? As far as I know, there is no ...
7
votes
2answers
507 views

Why is Geth trying to connect to private network IP addresses (RFC1918)

I have geth running on a Hetzner machine and I got an abuse warning from the provider flagging that my machine is sending UDP/TCP packets to private network IP addresses like for instance 192.168.., ...
8
votes
2answers
2k views

Automatic peer discovery in a private blockchain

Is there a way to enable automatic peer discovery in a private network. As far as I know, the only way to connect to peers while operating on a private blockchain is to add them through addPeer() ...
10
votes
1answer
2k views

Why does Ethereum require use of UDP (and not TCP) for discovery?

I am aware of the advantages of UDP, but why not allow a choice? Since since Tor requires the use of TCP, why have Ethereum developers elected not to support TCP for discovery?
21
votes
2answers
5k views

What is an Enode ID in Ethereum?

What is the definition of an Enode ID or Enode URI? What is it used for and how is it made?